esp32_exception_decoder do not decode with option time.
See original GitHub issueVscode 1.56.2 PlatformIO Core 5.1.1 Home 3.3.4 PLATFORM Espressif 32 (3.2.0) BOARD M5Stack Grey FRAMEWORK arduino
monitor_filters = esp32_exception_decoder decoded.
monitor_filters = esp32_exception_decoder,time not decoded.
time is processed first, and the timestamped text is passed to filter_exception_decoder.py, so the regex won’t match?
Is it possible to control the order in which filters are processed? If we can’t control the order, then modifying the regular expression might help.
In my environment, decoded with option time.
filter_exception_decoder.py line:35
r"(?:^\d+:\d+:\d+.\d+ > Backtrace:|^Backtrace:) ?((0x[0-9a-f]+:0x[0-9a-f]+ ?)+)\s*"
However, if you use it with options other than time, it might not be decoded.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Esp32_exception_decoder in serial terminal - PlatformIO IDE
Am I missing something I thought the esp32_exception_decoder support was added 4.3 . I have 4.3.4 but get an error when running ?...
Read more >esp32_exception_decoder do not decode with option time.
An open source ecosystem for IoT development Cross-platform code builder and library manager. Continuous and IDE integration. Arduino, ESP8266 ...
Read more >ESP32 Tips - Physical Computing
Step 2: Select “ESP Exception Decoder” from Tools menu. Then, open the Arduino IDE. Under the Tools menu, there will be a new...
Read more >How to decode ESP32 backtrace in Arduino IDE? (Mac OS)
How can I decode the backtrace?I tried the ESP32 Exception Decoder, but it gave an error: null-elf-gdb not found! Arduino IDE on Mac....
Read more >Thomas Sarlandie (@sarfata) / Twitter
Story time… ... I don't think I've ever actually said the words “get off my lawn,” but I'm much more ... A Python...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wrote
monitor_filters = time, esp32_exception_decoder
and it worked.
Analyzed how the filter is processed.
https://github.com/platformio/platformio-core/blob/master/platformio/commands/device/helpers.py line:91
https://github.com/pyserial/pyserial/blob/master/serial/tools/miniterm.py line:352
line:454
line:505
Except for Miniterm’s built-in filters, they seem to be processed in the reverse order of enumeration.
If this behavior is a specification, could you please add a note in the documentation about the processing order when multiple filters are specified in monitor_filters?
(Sorry if there is already a description about the processing order).
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.