Debug: how to use GDB | Developers

Debug: how to use GDB

Estimated reading time: Less than a minute

Debug an app thanks to GDB:

./ -d apps/btc.elf &
./tools/ apps/btc.elf

Some useful tricks:

  • Use the -t (--trace) argument to trace every syscalls.
  • Semihosting features can be used as an additional debug mechanism.

Did you find this page helpful?

How would you improve this page for developers?

Clients: how to send APDUs
Getting Started
Theme Features