Debugging startsup slow

  • Thread starter Thread starter skg
  • Start date Start date
S

skg

I am debugging managed and unmanaged code in C++ DLL
When ever i start debugging debugger hangs for 30secs or so at the last
line below at the last line and then continues
as normal.
How can i overcome this problem?

'Tester.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
'Tester.exe': Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
'Tester.exe': Loaded
'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\mscorlib\1.0.5000.0__b77a5c561934e089_9beb14e4\mscorlib.dll',
No symbols loaded.
thanks!!!
 
probably when mscorlib is loaded, it needs to look in the dll, for
loading (and references) Managed types. So in the meantime debugger
waits.

[I think* when in C++ you have managed and unmanaged code, system is
not creating its native image (all managed saved as native so no
runtime jitters)]

so probably you have to bear it.
 
In VS2003 you have to live with the problem. You can achieve little
performance imporvements by turning off automatic property evaluation in the
debug settings, but that's all AFAIK. VS2005 has a lot of performance
improvements here.
 
Back
Top