10 years, 7 months ago.

how to debug program about mbed

I want to debug ,what should I do?

What's your target? What IDE do you use? What program do you debug (size limitation with free KEIL for example might play a role here..) . As Adam and Erik suggested, there are many ways to debug. You should state your preferences and the target board.

By the way, this question has to be answered already, search functionality could be beneficial to you ;)

Regards, 0xc0170

posted by Martin Kojtal 09 Sep 2013

2 Answers

10 years, 7 months ago.

You could checkout these Handbook pages:

There is also some additional information in the Cookbook if you want to use Eclipse with the GNU toolchain for building and debugging:

10 years, 7 months ago.

Adam's links describe the 'real' debugging option.

The alternative is using printfs/leds and checking on a serial terminal what the contents of the printfs are.