I've found these commands to be the most useful when using gdb:

  • continue # execute code
  • ^C # stop code get debugger prompt
  • print # shows value
  • list <line#> - shows code
  • next - execute next line of code
  • break <line#> - stop code ehre
  • info breakpoints # shows breakpoints
  • del <breakpoint#> # deletes breakpoints
  • quit # exits GDB
(gdb) continue
(gdb) ^C
(gdb) print
(gdb) list
(gdb) next
(gdb) break
(gdb) info breakpoints
(gdb) del
(gdb) quit

This guide was first published on Jan 30, 2017. It was last updated on Jan 30, 2017.

This page (Debugging the Feather M0) was last updated on Jan 22, 2017.

Text editor powered by tinymce.