Skip to content

Add a feature to retrieve the previous error/hang stack trace for current boot to increase the debuggability  #70187

@mingfungchang

Description

@mingfungchang

Is your feature request related to a problem? Please describe.
In my use case, when a MCU warm reset triggered by Watchdog occurred due to a MCU hang. UART logging is the only way for debugging. In order to increase debuggability for the MCU hang scenario, it would be great to have a feature to retrieve previous stack trace in current.
Describe the solution you'd like
I would like a function so that It could print out a buffer which logs the stack trace info for previous boot. so that this info could be used to help debuggability.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions