Demystify Register Dump

To explain further, as it was not obvious to me:

You can use this indirectly to decode a stack trace from PlatformIO, but you do need Arduino installed. However you don’t need to open your PlatformIO project in Arduino, so it is not too hard.
Try this:

  1. Install in the Arduino tools as described in the the me-no-dev git readme.
  2. In PlatformIO build and run your project and get the stack trace ready in the terminal window. This generates the .elf file.
  3. Open in Arduino menu, Tools, ESP Exception Decoder.
  4. You are prompted for a .esp file. Open from /.pio/build/lolin-d32/firmware.elf (or similar)
  5. You are prompted for the trace - paste in from the terminal
  6. Read the decoded stack results.