I use emacs and autotools to write and compile c / C ++ sources in linux.
I am using gdb via GUD in emacs.
I have defined for convenience: F7: compilation, F10: gud-next, F11: gud-step, F5: gud-cont, F9: gud-tbreak, F8: gud-until, F4: gud-print.
I'm mostly interested in debugging linux c / c ++ source code from emacs, and I would like to get the maximum gdb. Unfortunately, I only use F4, which prints the variable under the cursor.
So my question is: how do you guys debug the source code?
What programs do you use?
What key bindings (functionality) do you use mostly?
What do you need a debugger to do for you?
If you do strange things, it does not matter. I would like to know everything in order to slightly increase the speed.
Thanks in advance. Mihai
source
share