Jump to content
  • Advertisement

Archived

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

Monder

Crash while using GDB

This topic is 5658 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Well it''s working now. By fixing what caused the crash when you quit the game it ran under GDB correctely. Not quite sure why but anyway thanks for the help

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!