Annoying Debug problem with VS2005
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Annoying Debug problem with VS2005

  1. #1
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,242

    Annoying Debug problem with VS2005

    Earlier today I was running the Debug build of a program (though outside of the debugger) when it crashed and required me to open Task Manager to end it (this is with Windows 7 BTW). Ever since this happened, the Debug build of that particular app is running incredibly slowly. Actions that are normally imperceptibly quick (screen redraws etc) are taking 20 seconds or more. It makes no difference if I run the app inside the debugger or outside.

    First thing I tried was powering down and rebooting but that didn't make any difference. Next I tried rebuilding the Debug version but that didn't help either. The Release version still builds fine and runs normally but the Debug build is ludicrously slow. It almost looks as if I'm single stepping through the code!!! No other apps seem to be affected - only the one that crashed.

    I quickly realised it wasn't a cpu hogging problem (cpu usage is around 1% - 2%, as usual) so I figured it might be a problem with a program database file - so I deleted all its pdb files and rebuilt again but that hasn't made any difference either!

    Has anyone ever encountered a problem like this? It's a new one on me so any suggestions would be very welcome....
    "A problem well stated is a problem half solved. - Charles F. Kettering

  2. #2
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,242

    Re: Annoying Debug problem with VS2005

    Possibly solved it... I just realised that this is only happening because the app automatically re-opens the last saved document. I think the document must have gotten corrupted somehow by the original crash.
    "A problem well stated is a problem half solved. - Charles F. Kettering

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center