Description
Please make the platform's debugging feature compatible with the latest Arduino IDE + CLI versions.
Arduino CLI's (>=0.35.0
) debug feature is now based on a standard framework documented in the new specifications and guidelines. More details are in the blog post.
Arduino IDE 2.3.0 uses the latest CLI APIs for the debugger feature. Starting from arduino/arduino-cli#2391, the programmer
is mandatory to retrieve the debug configuration from the CLI and start the debugger in IDE2. Otherwise, the debug feature will be disabled for the board in IDE2 (arduino/arduino-ide#2368).
Please define the programmers so that the platform's debug capability can be used in Arduino IDE 2.3.0. Thank you!
Arduino IDE users using the current version of Raspberry Pi RP2040 Boards
platform must use Arduino IDE version 2.2.1
to enable the debugging.
Dev notes:
- There is a new directive in the Arduino platform spec:
programmer.default
- Related, but for the ESP32 platform: https://forum.arduino.cc/t/ide-2-3-0-debugging-esp32s3-using-built-in-usb-jtag/1222051/2
- PR to enable the debugging with the latest Arduino standards for the ESP32 platform: Implement official Arduino IDE debugger API espressif/arduino-esp32#9116
Activity
Raspberry Pi RP2040 Boards
platform's debug configuration is incompatible with 2.3.0 arduino/arduino-ide#2368earlephilhower commentedon Feb 13, 2024
Thanks for the detailed info! Would you like to take a stab at this? You seem to have a good idea of the changes needed, already. OTW, it'll go in the queue.
[-]Update the core to support debugging with Arduino IDE 2.3 and Arduino CLI 0.35.0[/-][+]Feature Request - Update the core to support debugging with Arduino IDE 2.3 and Arduino CLI 0.35.0[/+]programmer
fordebug --info
arduino/arduino-ide#2371kittaakos commentedon Feb 19, 2024
The Arduino CLI will relax the constraints and make the
programmer
optional for thedebug --info
command: arduino/arduino-cli#2540.See confirmation: arduino/arduino-ide#2368 (comment).
I am closing this enhancement because it is not required now.