Debugging is not supported by 'ArduinoMega or Mega 2560'

Hi,
I am getting this pop-up "Debugging is not supported by 'ArduinoMega or Mega 2560' when I try to hover over the debug button of IDE2.0.3.
Any help would be very much appreciated.

Thank you.

Hi @elektronako. As the message says: the Mega board is not supported by the Arduino IDE 2.x integrated sketch debugger. This is not really a problem because the debugger is only an enhancement feature (Arduino IDE 1.x does not even have one), so you can still write sketches, compile, upload, and use Serial Monitor for debugging with your Mega. So just ignore the debug button and you'll be just fine.

If you are interested in the Arduino IDE integrated sketch debugger, you might be interested in the SAMD architecture boards:

These all have official support for use with the debugger. The most convenient of these boards is the Zero, since it has an on-board debugger. For the other boards, it is necessary to have a separate debug probe and connect that to the pads on the bottom of the board.

Some 3rd party boards platforms have also recently added support for the debugger:

So any of the boards of those platforms might also be usable with the debugger (most of these also require a separate debug probe). I haven't found the time to use those boards with the debugger yet, so I can't say how they are working, but some other forum members might have experience with that, so if you have any questions or problems feel free to ask for assistance here.

You can learn more about the Arduino IDE integrated sketch debugger here:

1 Like

Hi @ptillisch, thank you so much for your detailed and very informative reply.
Really appreciated.

You are welcome. I'm glad if I was able to be of assistance.

Regards,
Per

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.