jerryscript/tests/debugger/do_eval_at.cmd
Robert Sipka 47fa5904b1
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
2018-11-15 15:53:10 +01:00

21 lines
205 B
Batchfile

eval_at 0
eval_at 0 b
n
eval_at 0 b
b do_eval_at.js:20
n
scopes
eval_at 0 b
eval_at 1 b
eval_at 0 b=20
eval_at 1 b=100
n
eval_at 0 a
scopes
eval_at 0 b
eval_at -1 b
eval_at 65536 b
eval_at b
eval_at 200
c