Closed Tasssadar closed 4 years ago
@Tasssadar could you share somewhere ESP8266 project which raises an exception? I would like to test it on my machine after code refactoring. Thanks!
Sure, here it is: https://github.com/Tasssadar/esp8266_crash
Is there anyway to parse crash from log file? I don't have the monitor connection live, but I get the logs.
Requires https://github.com/platformio/platformio-core/pull/3383.
Adds a monitor filter that can decode esp8266 exception traces, the result looks like this (stuff added by this filter outlined in red):
It decodes the exception number, registers and whatever looks like program address in the stack dump.
It was tested on Linux with Python3 and Windows with Python 2 with ESP8266 NodeMCU-clone board.
Add --filter=esp8266_exception_decoder to monitor_flags to activate it.
Fixes #31