Appendix

Variable property flags

c : constant (the property is a real constant, may not be supported on all platforms)

n : enumeratable (visible to for/in loop)

p : permanent (property cannot be deleted)

a : argument to function

v : local variable in function

l : local/scope variable (top-level in scope)

e : exception (exception occurred, value is exception)

r : error (error occurred, value is error)

o : object/composite value (expandable, has properties)

Special variables

When the debugger suspend was caused by an exception and the exception details are available, the exception variable (with the 'e' property flag) should be returned on the top scope. If the debugger allows to change/reject the exception, the variable should also have 'w' writable property.