platform-teensy icon indicating copy to clipboard operation
platform-teensy copied to clipboard

Add quick access for addr2line support?

Open david-res opened this issue 1 year ago • 1 comments

Part of the debugin with the Teensy is based on the crashReport that is generated on the Teensy when it hardfaults, and it spits out an address where it crashed in some cases and you can use addr2line on the linker file to fins the line of code that was executing at that time

It would be great if this could somehow be added either to the UI or a PIO command for faster debugging.

More infio can be found about it in TD1.54 release notes under Fault Recovery & CrashReport : https://www.pjrc.com/teensyduino-1-54-released/

david-res avatar Jun 18 '23 08:06 david-res

This would be really helpful, indeed. I use addr2line from the command-line to find the crash point, but having it built-in somehow would be really useful. (maybe something that adds a link to the detected text in serial monitor that runs the addr2line with the correct address passed in?)

doctea avatar Sep 08 '23 22:09 doctea