Menu

Commands to debug the sketch

Vanyamba Software

After the sketch is successfully compiled and uploaded to Arduino, you should open Arduino IDE Serial Monitor, then select right communication baud rate (in examples 19200 bauds is used). Then you can send command to Arduino, in order to both show watched variables and control debugging:

  • ? -- display help info.
  • W -- show watched variables.
  • S -- switch debugger to the step-execution mode.
  • N -- run the program up to the next breakpoint.
  • G -- run the program by normal execution mode.
  • A -- repeat previous command.
  • С -- continue to output the dump (for W command it means to repeat the output).

Both commands and addresses can be entered in upper and lower cases. Values of variables are displaying as hexadecimal numbers.

[Library initialization]


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.