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 [email protected]
This commit is contained in:
Robert Sipka authored and GitHub committed 2018-11-15 15:53:10 +01:00
1 parent 6c4b316609
commit 47fa5904b1
10 files changed
+170 -13

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ extern "C"
/**
* JerryScript debugger protocol version.
*/
#define JERRY_DEBUGGER_VERSION (7)
#define JERRY_DEBUGGER_VERSION (8)
/**
* Types for the client source wait and run method.