Groups | Blog | Home
all groups > visual studio .net debugging > september 2006 >

visual studio .net debugging : VS2005 Debugging woefully slow


Valerie Hough
9/10/2006 5:31:05 PM
Hi
I converted all my projects from VS2003, and stepping over a single line of
code may now take 2-3 seconds when doing practically nothing (like
incrementing a local variable). I see that someone has solved the problem by
moving the mouse around; perhaps Microsoft now has a more comprehensive
solution?

Ramanathan Kathiresan [MSFT]
9/25/2006 1:29:02 AM
Hello Valerie,

Greetings:

what kind of project is yours? windows or web app or wince/device targeted
app?

You have mentioned that your debugger is slow when you step into line by
line and each line takes 2-3 seconds for the next one to go.

Couple of issues we have noticed on slow debugging:
1) Symbol server dead. Please check in your environmental variables is there
a variable named _NT_SYMBOL_PATH, if exists, delete that for a moment,
ofcourse copy the content of it before deleting and after deleting try to
debug.

2) Try Disabling the Visual Studio Hosting Process
a) Open the solution in the visual studio
b) View the properties page for the project
c) select the debug tab
d) Uncheck the "Enable the Visual Studio Hosting Process" and close the
properties page.
e) Now start debugging

HTH,
Ram

--
Ramanathan Kathiresan
VC++ | C# | J# | Developer Support Team
Microsoft R&D Corporation

http://blogs.technet.com/rams/default.aspx
http://blogs.msdn.com/ramanathan%5Fkathiresan/



[quoted text, click to view]
AddThis Social Bookmark Button