Tag Archives: gdb

Debugging For Beginners

This post was also published at O’Reilly Programming – you can read it here. I read an interesting article today, called Debugging for Beginners, over at O’Reilly Programming. You all know how much I love GDB (huh? you didn’t? seriously?), so I always like to take a look at different approaches to finding those elusive […]

GDB Prompt in Colour

Just because you can. Yeah, I know, why bother when you can use a nice front end like Eclipse, or DDD, or CGDB or blah blah blah. If you just like to use it in its raw form on the command line (which, let’s face it, is the best way), you can pretty-up your GDB […]

Eclipse CDT + GDB: Setting Watchpoints (Juno)

I was trying to watch a variable in Eclipse today and just could not find how to set it up. No matter what I did the Toggle Watchpoint option remained greyed out. A watchpoint is more fun than a regular breakpoint, because the debugger will stop whenever the variable is changed, even if your program […]

GDB: Unable to find dynamic linker breakpoint function

Need more? See my GDB tutorial: Part 1, Part 2, Part 3. You all know how much I loooooooove GDB, so what better thing to write about after a long time away? If you’re seeing this message: warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic […]