Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Breakpoints causes 25 second hang!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Apr 30 2008 :  10:22:00 AM  Show Profile  Reply with Quote
I just verified that this has nothing to do with VAX, but since the users of this forum have great knowledge of VS problems, I'll give it a shot.

Windows XP SP2, VS 2003 + VS 2005 SP1 + VS 2008 (installed in that order). The problem is present in all VS versions.

If I get an ASSERT when debugging, the IDE hangs for exactly 25 seconds, with 0% CPU usage! The same happens when I enter a function which takes CStrings (or any other complex type) as arguments:
CString str;
foo(str); // F11 causes the IDE to hang! (char* operator inside MFC DLL...?)

It seems I get these lockups when I debug into "other's code", such as MFC. Clicking in the "Call Stack" also yields these tiresome lockups. Crazy!

Any ideas? I'm getting desperate here! We have found this weird behavior on two machines, and there is no pattern of running processes and/or Windows services (no Antivirus). The only thing in common is that VS 2008 Pro was installed and uninstalled, and then VS 2008 Developer was installed. Of course this did not cause any problems on a third machine...

Any help is greatly appreciated!

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 30 2008 :  10:48:10 AM  Show Profile  Reply with Quote
Have you tried a pair of zero length read only NCB files?

http://docs.wholetomato.com?W133

Its a random thought, since I have no idea what might be causing the problem, but long delays while editing are normally related to the IDE's intellisense parser, so maybe there is a connection.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 30 2008 :  11:02:33 AM  Show Profile  Reply with Quote
Also check to see if you have expressions in your watch windows that the debugger is trying to re-evaluate when you step.
Go to Top of Page

mwb1100
Ketchup Master

82 Posts

Posted - Apr 30 2008 :  2:29:22 PM  Show Profile  Reply with Quote
You may also want to run something like filemon to see if something is trying to access a file over a no longer existing network share or something (a consistent 25 second pause sounds suspiciously like a network timeout). A filename stored in debug info might be the culprit.
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - May 01 2008 :  2:54:17 PM  Show Profile  Reply with Quote
Thanks for the reply!

Interesting idea mwb1100! I'll scrutinize my debug info as soon as I get back to work.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000