Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Visual-Studio / VS2010

Debugging 64 bit application using IntelliTrace – Visual Studio 2010 Service Pack 1 Beta

4.92/5 (3 votes)
22 Dec 2010CPOL1 min read 13.8K  
Debugging 64 bit application using IntelliTrace – Visual Studio 2010 Service Pack 1 Beta

IntelliTrace is a new feature of Visual Studio 2010 Ultimate Edition. By default, IntelliTrace is enabled. During debugging in Visual Studio, IntelliTrace works in the background and collects debugging information automatically and stores them in IntelliTrace Log File (.iTrace file). You can use the log file at any point of time to see what happened exactly in the background during your live debugging. One of biggest drawbacks of IntelliTrace was to support only 32bit application. So, if you are running your application in a 64bit application, you have to debug your application in 32 bit mode to deal with IntelliTrace. If you are trying to debug an 64 bit application using IntelliTrace, you will get the below message in IntelliTrace Window.

image

To overcome this issue, you need to change the application platform target to x86 or Any CPU from Build > Configuration Manager.

image

But, Visual Studio 2010 – Service Pack 1 Beta came up with a resolution for the above issue. Now you can debug your 64 bit Application using IntelliTrace as well.

To test the same, you can change the platform setting either from Build > Configuration or From Project Properties Window.

image image

Save the settings and Run the application. Your application is now running on 64 bit mode. Click on “Break All” from IntelliTrace Window.

image

Now, instead of any error message, you will get details of your IntelliTrace events of IntelliTrace Call Details.

image

If your application is already running on 64bit mode, then just press F5 to start IntelliTrace. So, you have installed Visual Studio 2010 Service Pack 1 Beta. Enjoy 64 bit Application Debugging  with IntelliTrace.

Thanks!

AJ

Shout it


Filed under: Debugging, Visual Studio 2010

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)