Page 1 of 1

Save panic handler output?

Posted: Tue Feb 27, 2018 2:22 pm
by Resch2061
Hi all,

Is it possible to somehow save the output of the panic handler? Does it get stored in NVS?
The reason I'm asking is because I'm currently developing something that makes it impossible for me to use make monitor, as the hardware uses the DTR line of the USB. The functionality I'm currently working on will not work when a USB cable is in the device.

Re: Save panic handler output?

Posted: Tue Feb 27, 2018 3:04 pm
by kolban
Might the following be of use to you?

http://esp-idf.readthedocs.io/en/latest ... _dump.html

It provides support for crash/dump handling. If a critical error is detected, it will result in a detailed dump being recorded for subsequent examination.