Debugging with CMSIS-DAP
mbed uses CMSIS-DAP as the protocol for debugging, but you need something on your host computer to talk to CMSIS-DAP, for example, Keil uVision IDE or pyOCD with GDB. These documents will guide you through:
- Debugging with printf() calls.
- Debugging with pyOCD and Eclipse
- Debugging with pyOCD and GDB.
- Debugging with Keil uVision.
- Debugging the micro:bit with pyOCD and GDB
We also have a guide to offline development and debugging.