Skip to content

Parse stack from WDT resets #2

Closed
@fcouceiro

Description

@fcouceiro

I'm trying to parse a stack trace dumped from a soft WDT reset and it is throwing this error:
ERROR: Parser not complete!

The content of the file I'm feeding in is:

Soft WDT reset

ctx: sys
sp: 3ffff950 end: 3fffffb0 offset: 01b0

>>>stack>>>
3ffffb00:  3ffffb88 00000000 00000010 401009d7

< collapsed a bunch of lines >

3fffffa0:  40000f49 3fffdab0 3fffdab0 40000f49
<<<stack<<<

I had success decoding other type of exceptions.

Thanks!

Activity

janLo

janLo commented on Jan 25, 2018

@janLo
Owner

That is because it is not an Exception, its a Soft WDT reset.

If you have only a stacktrace (without an exception) you can decode it using the --stack_only (or short -s) option.

fcouceiro

fcouceiro commented on Jan 25, 2018

@fcouceiro
Author

Working nicely. Thank you!

g01d10x

g01d10x commented on Jun 6, 2020

@g01d10x

Hi there, thanks for this python version of the stack trace .. could you please post an example of using the -s option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @janLo@fcouceiro@g01d10x

        Issue actions

          Parse stack from WDT resets · Issue #2 · janLo/EspArduinoExceptionDecoder