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.


Posted

in

by

Comments

2 responses to “VS2010 Tips #6: Easy way to troubleshoot Visual Studio 2010 issues”

  1. […] This post was mentioned on Twitter by Ferry Meidianto. Ferry Meidianto said: VS2010 Tips#6: Easy way to troubleshoot Visual Studio 2010 issues http://bit.ly/ah6jVR […]

  2. Wilhelm Avatar

    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 *