Pet peeves on debugger..
By sriram on Dec 07, 2009
On the topic of debuggers, here are some of my top most pet peeve when it comes to debuggers..
\* Hate pressing n every time to go to next line. For some reason, Sun Studio folks never provided a alias to 'Enter' key like the way we do have on GDB.
\* There is no nice way to display complex structures . For example, if you want to display a nested structure with some nested union / structure in it, good luck deciphering them. DBX's print does an excellent job on this .
\* Surprisingly for such a vibrant open source community, still there is no simple way to save your break points. If you need to save your breakpoints so that when you quit gdb and want to run again, you still need to do complex steps like
(gdb) info breakpoints
and manually copy the last column to some file or .gdbinit .
Come on, we are now living in Web 2.0 era where there is API's for every thing and at the least I would expect some thing like
Af course, one can write kludge macros to save your breakpoints etc.But, that is not elegant though... For some unknown reason, got into ranting mode. Ok, time to dump your head into your debugger..