Re: [GD-General] problems while debugger is attached
Brought to you by:
vexxed72
From: Megan F. <sha...@gm...> - 2006-07-23 21:29:37
|
It may or may not be your problem, but I've had many cases where, due to the debugger assigning consistent values to uninitialized variables, the application fails - but if I allow those to remain uninitialized in release mode, it simply functions (on certain machines). In general, that's the first thing I go looking for when I have a problem that shows in debug mode but not in release. Usually, it ends up being me having somehow handed a function a bad pointer to nothing, rather than the structure I intended to send. On 7/23/06, Andras Balogh <and...@gm...> wrote: > I have a strange bug, where if I'm running the program without the > debugger attached (CTRL-F5 in VS), the program would run correctly both in > debug and release builds. But when I run the program with F5, so the > debugger is attached, then it blocks on a function call and never returns. > If I put a breakpoint before this call, and step through it, then > everything seems to work fine, and the function returns as expected.. > > Could this be a deadlocking problem? Any ideas why attaching a debugger > makes any difference? And hints on how to debug this? > > Thanks, > > > > Andras > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gamedevlists-general mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-general > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=557 > -- -Megan Fox Idyllon, LLC http://shalinor.circustent.us/megan/resume/ |