Arduino IDE 2.3 released with the Debug feature now considered stable

Arduino IDE 2.3 has just been released with a range of bug fixes and improvements, but the main change is that the debug feature is not experimental anymore and is now considered stable.

Bug fixes include addressing CVE-2023-4863 security flaw (See GitHub for related commits) and based on the wording used in the announcement it looks to be the only one… So the main news is that the Debug feature is now fully incorporated into the IDE.

Arduino IDE 2.3 Debug Feature

But what is it exactly? The new documentation website explains that Arduino CLI 0.9.0 and Arduino IDE 2.x support “sketch debugging” with openocd server. Arduino also explains it’s currently supported by Arduino boards based on the Mbed core including GIGA R1 WiFi, Portenta H7, Opta, Nano BLE, and Nano RP2040 Connect, and Renesas-based boards such as UNO R4 and Portenta C33 will get support very soon. The company also says they are working closely with Espressif, and the next release of the Arduino ESP32 core will support the new debug framework.

The documentation does not really provide a high-level overview and focuses on configuration options. So while I don’t own any of the supported boards, I installed the Arduino IDE 2.3.0, configured supported for Arduino Giga R1, and tried to click on the Debug button placed on the right of the Upload button. It complained that I had not selected a programmer.

Arduino Giga R1 Programmer selection

The Giga R1 supports ARM CMSIS-DAP compatible, BlackMagic, JLInk, and STMicroelectronics STLINK programmers which are hardware devices used for programming and debugging the board enabling developers to add breakpoints and set in and out of functions. The live debugger was actually announced when Arduino IDE 2.0 was relased, but (another part of) the documentation has more details with a good overview of the debugging capabilities. It can be used with the Arduino Zero without external hardware since the little board already features a hardware debugger.

You’ll find Arduino IDE 2.3.0 for Windows, Linux, and macOS in the software section of the Arduino website.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
9 Comments
oldest
newest
Boardcon CM3588 Rockchip RK3588 System-on-Module designed for AI and IoT applications