Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Up until rencently I didn't like gdb much, but this was mainly for one thing I got wrong all the time: Make a code change, recompile, restart gdb and start again debugging.

Then I learned: you never need to stop gdb! Just enter "r" and it will restart the program with the fresh changes leaving all breakpoints and setup intact.

Game changer to me.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: