ESP32-C3 resets and shows 'gdb_exception_error'
Posted: Mon Mar 31, 2025 10:32 am
Hi! I'm developing a gateway that uses idf.py commands and i want to use idf.py gdbgui monitor in my app
However ,when i execute first idf.py openocd and then idf.py gdbgui monitor, the webpage shows this message:
When i lookup into the openocd logs, it shows this:
It only works when i manually create a new session in gdbgui dashboard. I tried making a loop destroying and setting un idf.py gdbgui, however if i want to introduce thiongs through terminal, i need to introduce also monitor. If i do that, it always resets 
Please help
However ,when i execute first idf.py openocd and then idf.py gdbgui monitor, the webpage shows this message:
Code: Select all
terminate called after throwing an instance of 'gdb_exception_error'Code: Select all
Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"
Info : Detected FreeRTOS version: (10.5.1)
Info : JTAG tap: esp32c3.tap0 tap/device found: 0x00005c25 (mfg: 0x612 (Espressif Systems), part: 0x0005, ver: 0x0)
[b]Info : [esp32c3] Reset cause (3) - (Software core reset)[/b]
Info : dropped 'gdb' connection
Info : [esp32c3] Target halted, PC=0x4200A32E, debug_reason=00000001Please help