Debugger for the the UNO R3 and IDE 2.0?

I am in the process of learning more about coding and configuring the Arduino UNO R3 and MCU’s in general, and would like to learn and use a debugger. I have a basic working understanding of C/C++ and using the Arduino IDE 2.0.

I have read that the IDE 2.0 debugger is not currently designed to be used with the UNO R3.

Question: Are there any debuggers that can be used with the UNO R3 and IDE 2.0.

It's apparently possible with Visual Micro (payware), or in Platformio (open source, based on VS Code).

There is a software solution (that uses the serial port): GitHub - jdolinay/avr_debug: Source level debugger for Arduino - GDB stub for Atmega328 microcontroller used in Arduino Uno..
And there is a hardware solution, which requires an additional UNO, Pro Mini, or Nano and uses DebugWire: GitHub - felias-fogg/dw-link: An Arduino-based debugWIRE hardware-debugger.
Both can be used as console applications or as part of PlatformIO. There is no integration into the Arduino IDE (yet), though. Unfortunately, the debugging interface has not been documented (yet?).

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