You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to store information shown on panic / exception (which I believe generated by esp-backtrace) to flash, so after reboot I can fetch it and understand what happened (since device is not connected to logs).
How can I do that?
I could copy the panic handler in esp-backtrace and modify it but it uses non public functions, and also I need to pass the access to the flash to the panic handler somehow. So I wonder if there's any recommended approach to do what I'm trying to do (which seems pretty useful to debug issues when there is no logger connected)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to store information shown on panic / exception (which I believe generated by esp-backtrace) to flash, so after reboot I can fetch it and understand what happened (since device is not connected to logs).
How can I do that?
I could copy the panic handler in esp-backtrace and modify it but it uses non public functions, and also I need to pass the access to the flash to the panic handler somehow. So I wonder if there's any recommended approach to do what I'm trying to do (which seems pretty useful to debug issues when there is no logger connected)
Beta Was this translation helpful? Give feedback.
All reactions