Hi all, I am trying to use the IDE 2.1.1 debugger with an Arduino Zero. I am new to all of this and just trying to get it all going, but I have read up and understand the concepts and process of debugging. When I try to configure, the debugger says "No Configuration" and a new tab opens called launch.json. I am not sure what it do at this point, cannot find an answer by searching - any advice would be welcome.
Hi @philmonty. Unfortunately the user interface for the Arduino IDE 2.x integrated sketch debugger is somewhat unintuitive. It is essential to start the debugger by clicking the "Start Debugging" button on the IDE toolbar:

You MUST NOT use the similar button on the activity bar on the left side of the Arduino IDE window to start the debugger:

When you click the "Start Debugging" button on the IDE toolbar, the debugger will be automatically configured for use with the Arduino Zero so you don't ever need to mess with that "launch.json" file.
The button on the activity bar on the left side of the Arduino IDE window is only a toggle for opening and closing the "DEBUG" view in the left side panel of the Arduino IDE window. So once you have started the debugger by clicking the "Start Debugging" button on the IDE toolbar, you can then use the button on the activity bar to control the visibility of the debugger.
OMG - thank you SO MUCH. Unintuitive indeed. ![]()
You are welcome. I'm glad if I was able to be of assistance.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
