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.
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
.
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
.