3 ms·
Emacs actually integrates pretty nicely with gdb. Just split the source file being debugged horizontally and fire up gdb in the other window: Split the windows
by mtoddh 14y ago
Emacs actually integrates pretty nicely with gdb. Just split the source file being debugged horizontally and fire up gdb in the other window:
Split the windows horizontally: C-x 2
Switch to the other window: C-x o
Fire up gdb: M-x gdb
You can set breakpoints with C-x <SPC>. Emacs will show an arrow next the source line about to be executed.
- edge17 14y agoyea, agree with this. emacs integration is very nice. as a side note, if you're particularly aggressive with gdb or the project you're working on is very large it helps to increase the buffer size significantly