esp-exception-decoder icon indicating copy to clipboard operation
esp-exception-decoder copied to clipboard

Support Arduino IDE 2.1.1 (Windows 8.1)

Open mocallins opened this issue 5 months ago • 2 comments

I'm on a Windows 8.1 machine and that's the latest IDE that's compatible.

Error: ESP Exception Decoder Sketch path is not set

mocallins avatar Jul 17 '25 18:07 mocallins

The minimum compatible version is Arduino IDE 2.2.0. The reason is that the extension requires an enhancement that was introduced to the IDE at that version: https://github.com/arduino/arduino-ide/pull/2110

It might be a good idea to document the extension's minimum IDE version requirement.

per1234 avatar Jul 17 '25 19:07 per1234

I'm on a Windows 8.1 machine and that's the latest IDE that's compatible.

Thanks for reporting this and clearly stating your OS and IDE version.

As noted in https://github.com/dankeboy36/esp-exception-decoder/issues/45#issuecomment-3085228053, the extension requires Arduino IDE 2.2.0 or newer due to a required enhancement introduced in arduino/arduino-ide#2110. I completely understand that if updating Windows or the IDE were an option, you likely would have done so already.

Rather than simply closing this issue with a “won’t fix” and a link to the updated documentation, I’d like to explore an alternative. I can try backporting support to work with 2.1.1 by embedding the patch from arduino/arduino-ide#2110. We could also ask the Arduino IDE maintainers whether a small patch release for older systems would be considered. Just enough to enable the decoder extension to run.

There’s also another option: you could try using my CLI-based decoder, TraceBreaker. You can run it in interactive mode in a terminal and paste in the output from the Serial Monitor in IDE 2.1.1. Alternatively, open a terminal inside the IDE with Ctrl+` and use TraceBreaker from there. It currently requires manually locating the .elf` file produced by Arduino CLI while running the compilation in verbose mode (https://github.com/arduino/arduino-cli/issues/2866), but if you’re up for trying it and need help, feel free to reach out.

dankeboy36 avatar Jul 18 '25 11:07 dankeboy36