Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backtrace decoder for ESP32 #105

Open
me21 opened this issue Jul 3, 2018 · 5 comments

Comments

Projects
None yet
6 participants
@me21
Copy link

commented Jul 3, 2018

There is a backtrace decoder for ESP32 which is installed in Arduino IDE: https://github.com/me-no-dev/EspExceptionDecoder

And another CLI backtrace decoder written in Python: https://github.com/janLo/EspArduinoExceptionDecoder

It would be nice to use it from Platformio IDE somehow. Serial port monitor is already there, it should be possible to copy&paste the backtrace.

@ivankravets ivankravets added the feature label Jul 9, 2018

@KrrishnaShah

This comment has been minimized.

Copy link

commented Aug 10, 2018

is there any way to back-trace in ESP-IDF

@yaqwsx

This comment has been minimized.

Copy link

commented Oct 14, 2018

idf_monitor.py in ESP-IDF provides this feature. It scans the serial monitor for addresses a translates them with addr2line. The functionality should be only few lines of code, however:

  • platformIO does not ship addr2line in the espressif32 package
  • the serial monitor is not per-platform (mistake me if I am wrong).

I would greatly appreciate this functionality!

@yaqwsx

This comment has been minimized.

Copy link

commented Nov 16, 2018

I briefly looked at the implementation of monitor in PlatformIO. It uses miniterm from PySerial, therefore, it is not easy to extend it by post-processing of the output unless we change PySerial or PlatformIO ships its own monitor.

@vallettea

This comment has been minimized.

Copy link

commented Mar 15, 2019

would also be interested

@baggior

This comment has been minimized.

Copy link

commented Mar 15, 2019

me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.