ESP Exception Decoder 1.1.1 for Arduino IDE 2.x

Hello community,

I released a new update (1.1.1) for the ESP Exception Decoder in the Arduino IDE 2.x. Download ESP Exception Decoder 1.1.1

What’s new?

  • Better stack trace decoding for RISC-V boards: Now, the decoder uses the build.mcu property from Arduino CLI instead of just the board ID. This makes it much easier for Arduino platform developers. You can copy an existing board configuration, give it any ID you want, and it’ll work right away. Special thanks to @bhcuong2008 for this suggestion. More details here.
  • New decoding engine: I completely rewrote the decoder logic. Now, the decoder uses TraceBreaker CLI, a separate command-line tool for decoding ESP stack traces and coredumps.TraceBreaker can decode coredumps from:
    • esptool.py read_flash
    • esp_partition_read (during runtime)
    • Official ESP-IDF dumps

Check out TraceBreaker CLI here

Examples and Guides

Want to send coredumps from your ESP32 to a Node.js server?

Check out these examples:

Big thanks to @zekageri for the idea. More details here

I’ve created a guide explaining how to:

  • Set up Arduino CLI and ESP32 Arduino core
  • Compile and upload sketches to ESP32
  • Create a deliberate crash to generate a coredump
  • Download and decode the coredump using TraceBreaker

See the complete guide here

Happy debugging

Thanks for Sharing!