List scope chain levels and their variables to the selected stack frame. (#2557)
It supports to list the scope chain of the current execution context and see which variables are available. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -700,6 +700,13 @@ typedef enum
|
||||
*/
|
||||
#define ECMA_OBJECT_FLAG_EXTENSIBLE 0x20
|
||||
|
||||
/**
|
||||
* Non closure flag for debugger.
|
||||
*/
|
||||
#ifdef JERRY_DEBUGGER
|
||||
#define ECMA_OBJECT_FLAG_NON_CLOSURE 0x20
|
||||
#endif /* JERRY_DEBUGGER */
|
||||
|
||||
/**
|
||||
* Value for increasing or decreasing the object reference counter.
|
||||
*/
|
||||
@@ -719,7 +726,7 @@ typedef struct
|
||||
/** type : 4 bit : ecma_object_type_t or ecma_lexical_environment_type_t
|
||||
depending on ECMA_OBJECT_FLAG_BUILT_IN_OR_LEXICAL_ENV
|
||||
flags : 2 bit : ECMA_OBJECT_FLAG_BUILT_IN_OR_LEXICAL_ENV,
|
||||
ECMA_OBJECT_FLAG_EXTENSIBLE
|
||||
ECMA_OBJECT_FLAG_EXTENSIBLE or ECMA_OBJECT_FLAG_NON_CLOSURE
|
||||
refs : 10 bit (max 1023) */
|
||||
uint16_t type_flags_refs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user