Why is Visual Studio 2005 debugging so slowly? How can I make it faster?

  • Thread starter Thread starter Edson Tadeu
  • Start date Start date
E

Edson Tadeu

I have imported a project from Visual Studio .Net 2003, consisting only
of native (unmanaged) C++ code. Debugging was very fast in that IDE,
and I didn't even notice a delay when stepping over lines. Now, in MSVC
2005, each 'stepping over' takes between 1 and 2 seconds :(

Why is that? Is there anyway to improve the MSVC 2005 debugger speed?
I've already configured the project debugger type to Native Only, and I
tried to change a lot of debugging options, all without success.

I have an Athlon MP 2400+ (Dual Core) with 2GB of RAM!

I tried to create a new project, a very simple one, and the debug is
fast there...
The problem is with my older project, but note that this is a big
project... it is actually loading 85 modules (.dll's) when debugging.
Maybe there is too much symbols??

Note: I tried to disable JIT debugging and Edit&Continue -- without
success.

Thanks for any help!
 
Edson Tadeu said:
I have imported a project from Visual Studio .Net 2003, consisting only
of native (unmanaged) C++ code. Debugging was very fast in that IDE,
and I didn't even notice a delay when stepping over lines. Now, in MSVC
2005, each 'stepping over' takes between 1 and 2 seconds :(

Why is that? Is there anyway to improve the MSVC 2005 debugger speed?
I've already configured the project debugger type to Native Only, and I
tried to change a lot of debugging options, all without success.

I have an Athlon MP 2400+ (Dual Core) with 2GB of RAM!

I tried to create a new project, a very simple one, and the debug is
fast there...
The problem is with my older project, but note that this is a big
project... it is actually loading 85 modules (.dll's) when debugging.
Maybe there is too much symbols??

Note: I tried to disable JIT debugging and Edit&Continue -- without
success.

Thanks for any help!

Do you use mixed mode debugging?

Project Settings/Configuration properties/Debugging/Debugger Type: Mixed
If yes, set it to "Native only"

Marcus
 
I've already set it to Native Only, without success, still taking
between 1 and 2 seconds between each line!
 
Edson said:
I have imported a project from Visual Studio .Net 2003, consisting only
[...]
2005, each 'stepping over' takes between 1 and 2 seconds :(
[...]
Note: I tried to disable JIT debugging and Edit&Continue -- without
success.

Thanks for any help!


Hi, try to delete the *.ncb, *.suo files in your projects directory and
remove all breakpoints and variables in the watch windows, then try
again if deletion of the files did change anything.

(Hope it helps)
Andre
 
Edson said:
I have imported a project from Visual Studio .Net 2003, consisting only
of native (unmanaged) C++ code. Debugging was very fast in that IDE,
and I didn't even notice a delay when stepping over lines. Now, in MSVC
2005, each 'stepping over' takes between 1 and 2 seconds :(

Why is that? Is there anyway to improve the MSVC 2005 debugger speed?
I've already configured the project debugger type to Native Only, and I
tried to change a lot of debugging options, all without success.

Close the watch and locals debugger windows, or limit them to just what
you absolutely need to see. The new debugger can take a lot of time to
update these, especially if you have a lot of big STL maps/sets visible
in them, for instance.
 
Back
Top