Re: Why is debugging is super slow on 1 particular project?




why is it that one of my projects when stepping thru in debug mode takes
about 2 seconds to go from line to line while a different project goes very
fast. i've noticed this before in the past. Both projects are similar in
that they are being developed from my local box and many other similarities


If it is a managed project, the most typical reason is that the debugger
is working in mixed mode. The solution is to set the debugger to managed only
mode in project settings (e.g. Project properties | Configuration Properties |
Debugging | "Enable Unmanaged Debugging" should be set to False if it is
a C# project in VS2003; other projects / VS versions have similar settings).

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]



.



Relevant Pages

  • Re: Why is debugging is super slow on 1 particular project?
    ... If it is a managed project, the most typical reason is that the debugger ... is working in mixed mode. ... mode in project settings (e.g. ... Project properties | Configuration ...
    (microsoft.public.vsnet.debugging)
  • Re: A Serious bug in VC.Net 2003 ?
    ... variable or memory on the debugger, so to make sure that it is the debugger ... or your code doesn't work correctly with mixed mode try to print the output ... > not work when i build using a .Net console application. ... > LCStream(const LCStream& other) ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Mixed mode DLL causing crash in release outside of debugger =)
    ... We've had problems with mixed mode C++ and optimzation as well - in our case ... the linker optimization /OPT:REF was causing a ... > Running my debug code in our outside of the debugger works normally. ... I doubt it's any kind of memory corruption in the unmanaged code. ...
    (microsoft.public.dotnet.languages.vc)
  • Mixed mode DLL causing crash in release outside of debugger =)
    ... Running my debug code in our outside of the debugger works normally. ... The call happens a function in my mixed mode DLL in an unmanaged class ... I doubt it's any kind of memory corruption in the unmanaged code. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Cant step over while debugging
    ... Project Properties ... In some part of my program the debugger doesn't let me step over ... instruction the debugger doesnt jump to the next instruction,basically it ... Moreover,the thread which was executing that code finalizes when i try to ...
    (microsoft.public.vsnet.debugging)

Loading