Archived

This topic is now archived and is closed to further replies.

Monder

Crash while using GDB

Recommended Posts

Ok my game crashes when you quit. I wanted to find out why so I fired up GDB and ran the game so I could find out what point it is crashing at. However whenever I debug my game with GDB it crashes in a different place while is just crashes when you quit the game when GDB is not loaded up. I use exactly the same EXE in both cases. So anyone know why having GDB loaded may cause a crash?

Share this post


Link to post
Share on other sites
There are several things that can cause the error to happen in a different place, but in this case that''s academic. Fix the error that happens when you run GDB; chances are, it''ll be a fubared pointer that just happens to mess with different memory when run under GDB and will go away in release once fixed in debug.


Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites