4 ms·
This is fantastic. I thought I was pretty good at gdb, but this is next level (and it isn't complicated). I've never seen any resource on "how to gdb a really
by jnwatson 7y ago
This is fantastic. I thought I was pretty good at gdb, but this is next level (and it isn't complicated).
I've never seen any resource on "how to gdb a really gnarly bug"; this is a great example.
- saagarjha 7y agoDebuggers are great! They're printf debugging, except that your printf can respond to the program state almost arbitrarily at runtime; not only that, they can modify the program state and can do so from a lot more lenient environment than your compiler would usually allow you to do. An advanced user can end up doing more programming in the debugger than outside of it.
- capableweb 7y agoGlad to see people writing in C-like languages finally get a taste of lisp programs ;)