Click here to Skip to main content
Click here to Skip to main content
Technical Blog

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

, 22 Dec 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

Abhijit Jana
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband
 
Blog : http://abhijitjana.net
Web Site : http://dailydotnettips.com
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide
Follow on   Twitter

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 23 Dec 2010
Article Copyright 2010 by Abhijit Jana
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid