Improve the evaluate requests (#2583)
Currently it evaluates the given expression in the context of the top most stack frame. The expression should access to any variables and arguments that are in the scope chain. Implement the eval_at request with the level of the scope chain as a further argument. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -4,9 +4,10 @@ Stopped at tests/debugger/do_help.js:15
|
||||
|
||||
Documented commands (type help <topic>):
|
||||
========================================
|
||||
abort bt display exception list next s src
|
||||
b c dump f memstats quit scopes step
|
||||
backtrace continue e finish ms res scroll throw
|
||||
break delete eval help n restart source variables
|
||||
abort c e finish n s step
|
||||
b continue eval help next scopes throw
|
||||
backtrace delete eval_at list quit scroll variables
|
||||
break display exception memstats res source
|
||||
bt dump f ms restart src
|
||||
|
||||
(jerry-debugger) quit
|
||||
|
||||
Reference in New Issue
Block a user