Page 1 of 1

[Answered] Core dump generation: Delay before UART output

Posted: Thu Feb 02, 2017 11:23 pm
by kolban
As of the current ESP-IDF of this date, I see there is an option to delay core dump output writing to the UART for a period of milliseconds or until keyboard interaction from the UART. Would it be possible to hear the use case/user story behind this feature? I'm not seeing how this delay feature would be intended to be used.

Re: Core dump generation: Delay before UART output

Posted: Thu Feb 02, 2017 11:29 pm
by ESP_igrr
I think the idea was to give user a chance to prepare the terminal for capturing the core dump. Depending on the terminal application used, this may involve, for example: closing the application and opening a different one, or enabling logging (e.g. ctrl-a ctrl-H in GNU Screen), or clearing console log contents in the application.