ESP32 Bench
Boards: ESP32, S2, S3, C3, C6
Flash and monitor: Web Serial
← All tools

Backtrace decoder

Turns the addresses in an ESP32 crash into function names and source lines, like the exception decoder in the old Arduino IDE or addr2line, without installing anything. Works with Xtensa chips (ESP32, S2, S3) and RISC-V chips (C3, C6, H2). Your files stay in this browser.

1. The firmware's .elf file

Where is the .elf file?
  • Arduino IDE 2: Sketch, Export Compiled Binary. The build folder next to your sketch then holds yoursketch.ino.elf.
  • PlatformIO: .pio/build/<env>/firmware.elf in the project.
  • ESP-IDF: build/<project>.elf.

2. The crash output

Need the meaning of the crash rather than the line? See the error reference. For a live board, the bench explains crashes as they print.