I failed with the atmega-native-blink example in VSC + PlatformIO IDE with modified platformio.ini (see below):
Clean All
Build All
Pre-Debug All
In the left toolbar click "Start Debug"
In the toolbar at the top, select "Debug (skip pre-debug) ()" and click "Start Debugging"
Observation:
The section "PERIPHERALS" in the debug view only says "No information". Having the Arduino Uno Rev3 with the uploaded firmware connected via USB does not change this.
The documentation for board uno at https://docs.platformio.org/en/latest/boards/atmelavr/uno.html#board-atmelavr-uno implies that debugging using simavr is possible with the Arduino Uno Rev3 without additional hardware. The documentation says it should work by simply adding debug_tool = simavr in platformio.ini.
I failed with the atmega-native-blink example in VSC + PlatformIO IDE with modified platformio.ini (see below):
Observation: The section "PERIPHERALS" in the debug view only says "No information". Having the Arduino Uno Rev3 with the uploaded firmware connected via USB does not change this.
Here my modified platformio.ini