mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
LibJS: Add VM::dump_scope_chain()
This is a handy helper that dumps the current scope chain, starting at the innermost scope.
This commit is contained in:
parent
4c8df58e08
commit
0d2aba07aa
2 changed files with 14 additions and 0 deletions
|
@ -72,6 +72,7 @@ public:
|
|||
void clear_exception() { m_exception = nullptr; }
|
||||
|
||||
void dump_backtrace() const;
|
||||
void dump_scope_chain() const;
|
||||
|
||||
class InterpreterExecutionScope {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue