Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 1.03 KB

POSTMORTEM.md

File metadata and controls

15 lines (9 loc) · 1.03 KB

Post Mortem Debug Mode

The ESP-IDF: Launch IDF Monitor for CoreDump / GDB-Stub Mode command launches a ESP-IDF Monitor terminal listening for core-dump/gdbstub events on which will launch a debug session where you can send gdb commands to the chip (without continue, pause or other debug steps).

NOTE: The ESP-IDF: Monitor Device command will not launch a debug session.

Using Core Dump

ESP-IDF Core Dump needs to be configured by using Core Dump's Data Destination to either UART or FLASH using the ESP-IDF: SDK Configuration Editor or idf.py menuconfig.

Using GDB Remote Protocol Server (GDBSTUB)

ESP-IDF implement a Panic Handler to capture and print execution errors. For GDB Stub, you need to use ESP-IDF: SDK Configuration Editor or idf.py menuconfig to select Invoke GDBStub in Panic Handler Behaviour.