pbl debugAttach GDB to the firmware.
pbl debug
On QEMU boards this attaches to the emulator through a proxy that walks the
kernel’s thread list, so info threads and per-thread backtraces work. On
a watch it needs a runner with debug support, i.e. OpenOCD; boards flashed
through sftool cannot be debugged this way. Debugging
describes the GDB extensions the firmware ships with.
pbl debug [-h] [-b DIR] [--dry-run] [-r {nrfutil,openocd,sftool}] [--tty TTY]
-r, --runner {nrfutil,openocd,sftool}Override the board’s runner
--tty TTYSerial port for the sftool runner
Generated from PebbleOS 3a7b71785. This page is maintained in the pebbleos repository: docs/pbl/debug.md.