Skip to content

Debugger feature: add backtrace command #2490

Closed
@bobrippling

Description

@bobrippling

I'd like to be able to see the call stack (useful for debugging what's called code, such as finding out where a width has been set), like bt in gdb - before I work on the feature though, is this something that would be accepted into espruino?

I'm thinking something like:

debug>bt
Frame 0: drawIcon(), "clock.js", line 5
Frame 1: draw(), "clock.js", line 20
Frame 2: anonymous, "clock.js", ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions