Re: strange debugging problem

Andras Balogh <[email protected]> Sat, 13 May 2006 10:28:32 -0600
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
This is an old thread, but I think I've finally found a solution that
always works (none of the other suggestions really worked for me):

When the program is running, first pause it from Visual Studio, then
place the breakpoint, then resume running, and tadaam! :)



Andras


Monday, February 20, 2006, 8:00:07 PM, you wrote:

> While my application is running, I can use alt-tab to switch to other
> programs and then switch back, and all this seems to work fine. However,
> when I switch to Visual Studio, and put a breakpoint in the source, while
> the program is running under the debugger, the program just.. well.. I
> don't know how to describe it, it kinda hangs, but it does this in a very
> strange way. The VS debugger says it's still running, but when I try to
> break into it (using the break all command that should just stop at the
> current instruction, wherever it is), it can't. The callstack window does
> not respond anymore, and I can not continue, or step anymore.. The only
> button on VS that works is the stop debugging. And it's funny, but when I
> say stop, I can actually see a couple more messages in the debug output
> window that my program is writing out..

> Anyone experienced anything like this? Any ideas about what might cause
> it, and possible workarounds?

> This is on VC++ 7.1 /Win32 XP



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555