Emacs + GDB (GUD)

By nenchev, 11 October, 2024
  1. Run gdb with the gdb command.
  2. Set breakpoint with gud-break or C-x C-a C-b
  3. Remove breakpont with gud-remove or C-x C-a C-d
  4. Run the executable with gud-go or C-x- C-a C-v
  5. Continue after break with gud-cont or C-x C-a C-r
  6. Print with gud-print or C-x C-a C-p
  7. Run until gud-until or C-x C-a C-u
  8. Using gdb-many-windows to switch to a comprehensive debugging UI setup. Running the command again will result in a simpler vertical split.

Tags

Comments