[Answered] Core dump generation: Delay before UART output

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

[Answered] Core dump generation: Delay before UART output

Postby kolban » Thu Feb 02, 2017 11:23 pm

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.
Last edited by kolban on Fri Feb 03, 2017 1:28 am, edited 1 time in total.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: Core dump generation: Delay before UART output

Postby ESP_igrr » Thu Feb 02, 2017 11:29 pm

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.

Who is online

Users browsing this forum: No registered users and 134 guests