Hacker News new | ask | show | jobs
by lallysingh 6426 days ago
What really helps in that situation is a good debugger, that lets you quickly look up blocks of memory (e.g. where the pointer references). Obviously it should be stable enough to handle bad pointers (giving an error message instead of crashing is nice).

The old CodeWarrior debugger was great for this. Lots of windows you could pop up for every in-memory object you cared about. sigh

1 comments

You should take a look at ddd. I've never used CodeWarrior, but from your description it sounds a lot like ddd.
ddd's nice, but CW made it a lot easier to stay close to the machine-level. Nothing like a good window'd hexdump to browse :-)