VS2010 Tips #6: Easy way to troubleshoot Visual Studio 2010 issues

Incompatible add-ons or system configurations can cause Visual Studio issues (performance issue, error, etc).

Fortunately we can try to troubleshoot the issues by referring to the Visual Studio activity log.

Simply run the following command to run Visual Studio 2010 and log its all activities.

image

The log file will be generated to:

XP

%USERPROFILE%\Application Data\Microsoft\Visual Studio\10.0\ActivityLog.xml

Vista & Windows 7

%USERPROFILE%\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml

You can also specify where you want the log file to be generated

image

Once you run it, 2 files will be generated

image

And when you open the ActivityLog.xml, it will contain something like this:

image

Hope this helps.

2 thoughts on “VS2010 Tips #6: Easy way to troubleshoot Visual Studio 2010 issues

  1. Pingback: Tweets that mention VS2010 Tips #6: Easy way to troubleshoot Visual Studio 2010 issues ยท Ferry Meidianto -- Topsy.com

  2. Wilhelm

    Thank you, this is very helpfull. for getting a log from the experemental hive just go: properties -> debug and append ‘/Log “filename.xml”‘ to the ‘command line arguments’ textarea.

Leave a Reply

Your email address will not be published. Required fields are marked *