Living in the GDB

Posted by Astryl on July 29, 2011, 2:31 a.m.

Should be a song.

Anyway, I've been spending my week looking at videos like this:

And I've been staring at errors/bugs in Hydra for a week now, and my head is spinning.

So, basically: Hydra is delayed (Nobody cares anyway), GDB is awesome for telling me I'm wrong and I'm officially taking that mini-course about exception handling (After struggling along with archaic C error-handling).

Finally, I'd like to make an official apology to anybody I've treated as inferior/unknowledgeable in this past year, because I obviously don't know as much as I should or else my engine would be damned well working without spilling it's memory-guts all over the OS.

Comments

Astryl 13 years, 3 months ago

Quote:
Oh pretend I want to use it on Linux then. I actually just want to know what makes GDB so special.

It only really helps when you enable debugging symbols for your program (Which balloons program size to 3mb+). What happens then is that you run your program through GDB, and when something goes wrong (Memory leaks etc), GDB catches the problem, and shows you not only WHAT is wrong, but WHERE it's going wrong. Saves a ton of time.