mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32s2beta: re-enable entering the debugger on panic
This commit is contained in:
parent
f21261d39c
commit
04324e4c3c
@ -408,7 +408,6 @@ void xt_unhandled_exception(XtExcFrame *frame)
|
|||||||
panicPutStr("Unknown");
|
panicPutStr("Unknown");
|
||||||
}
|
}
|
||||||
panicPutStr(")");
|
panicPutStr(")");
|
||||||
#ifdef PANIC_COMPLETE_IN_ESP32C
|
|
||||||
if (esp_cpu_in_ocd_debug_mode()) {
|
if (esp_cpu_in_ocd_debug_mode()) {
|
||||||
panicPutStr(" at pc=");
|
panicPutStr(" at pc=");
|
||||||
panicPutHex(frame->pc);
|
panicPutHex(frame->pc);
|
||||||
@ -426,7 +425,6 @@ void xt_unhandled_exception(XtExcFrame *frame)
|
|||||||
setFirstBreakpoint(frame->pc);
|
setFirstBreakpoint(frame->pc);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
panicPutStr(". Exception was unhandled.\r\n");
|
panicPutStr(". Exception was unhandled.\r\n");
|
||||||
}
|
}
|
||||||
commonErrorHandler(frame);
|
commonErrorHandler(frame);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user