You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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", ...
The text was updated successfully, but these errors were encountered:
) link in the 'old' lexer rather than storing it in JsLex *oldLex. That way the debugger could skip back down all the lexers and reconstruct the call stack.
Now I think about it the second option should be possible with minimal extra overhead
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), likebt
ingdb
- before I work on the feature though, is this something that would be accepted into espruino?I'm thinking something like:
The text was updated successfully, but these errors were encountered: