Re:Essential C (2003) [pdf]
by partycoder on Wednesday May 11, 2016 @12:15AM
(#11672620)
For many of these examples, there's a debugger called "ddd" that can graph structures and can be useful.
[ Parent
| on HN ]
Re:Essential C (2003) [pdf]
by stevetrewick on Wednesday May 11, 2016 @05:02AM
(#11673662)
I want to love ddd, really I do, conceptually it is awesome and beautiful. In practice it is (IME) buggy (almost) to the point of uselessness. It's been a couple of years since I last used it, but it was last updated around 2009 :-(
I'm in the same boat. I've tried it out a few times and it's always a crashy mess. I want to like it, but the project seems to have been abandoned in a barely usable state.
ddd isn't my day-to-day debugger but I sometimes break it out when I need to visualize a data structure or keep track of multiple values when doing some more difficult debugging tasks.
It's far from perfect but still a useful tool.
Re:Essential C (2003) [pdf]
by stevetrewick on Wednesday May 11, 2016 @06:32AM
(#11674071)
Oh for sure, I've used it a fair bit, it can be an absolute lifesaver for RE work or building simple VMs, for instance where you need to grok a structure in its fullness.