Exception decoder

Hi, I have the exception decoder working in IDE 1... Because of the need to use IDE 2.0.1 I copied the file as I did before, but nothing shows up in the menu. The pad is correct Arduino\tools\EspExceptionDecoder\tool\EspExceptionDecoder.jar. It is the latest I download on feb 2022 and I am using windows.

Unfortunately ide 2.0 does not support the ESP exception decoder.

1 Like

I hope it will be. The people that want it to be is rising.

1 Like

Are there any plans to support it? Is there an alternative to this for Exception Decoding?

Any news?

You can give a try to my Arduino IDE 2.x extension: GitHub - dankeboy36/esp-exception-decoder: ESP8266/ESP32 Exception Decoder Extension for the Arduino IDE. I would be happy to hear what you think. If you find a bug, report it at the repository, not here. Thank you!

You must use the nightly IDE build. Otherwise, it won't work. https://www.arduino.cc/en/software#nightly-builds

3 Likes

Hi @dankeboy36
Thanks for porting the exception decoder to IDE 2!

i've followed the github instruction.
But my exception format looks different, and i get this error after pasting it in:
"Could not recognize stack trace/backtrace"
i'm using arduino-ide_nightly-20231022_Linux_64bit.AppImage

image
These are my board settings:

is there anything i'm doing wrong?
thanks in advance

1 Like

@ardihmn, thanks for giving it a try. It's missing what you pasted from the monitor. If you think it is a bug, please open an issue here. Copy and paste the output of the Exception Decoder view to the bug report. For example, it shows this by default:

ESP Exception Decoder
No board selected

Please do not forget to attach to the issue what you pasted into the decoder terminal as a markdown code block.

We will find a solution earlier if you share copied text (if possible) and not screenshots.

Thanks i will do that tomorrow.
Do you have a tip on how to select and copy large pieces of text from the monitor view?
it seems the arduino V2 IDE has some quirks when selecting and scrolling the texts, (it seeems to re-render only the visible part of the output to the serial monitor window).

Hi @ardihmn

  1. Maximize the Arduino IDE window.
  2. Hover the mouse pointer over the border between the main panel (where the sketch editor view is) and the bottom panel (where the Serial Monitor view is).
    The mouse pointer will change to the double arrow pointer.
  3. Click and drag upwards until the bottom panel is as tall as possible.

If the exception content is still longer than will fit in the Serial Monitor view, you will need to copy and paste it one screen at a time, reassembling it into a single body of text before passing it to the Exception Decoder.

The Arduino IDE developers are tracking this bug here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject:

image

Thanks

I created this github issue

1 Like

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