| Index: src/debug/mirrors.js
|
| diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
|
| index 11f9e485c13be252986a228826de69c9ea83bf5c..7b27f5e270fbd1df6f03b53dd7d6d747a7d88ccf 100644
|
| --- a/src/debug/mirrors.js
|
| +++ b/src/debug/mirrors.js
|
| @@ -2233,8 +2233,10 @@ FrameMirror.prototype.toText = function(opt_locals) {
|
| };
|
|
|
|
|
| +// This indexes correspond definitions in debug-scopes.h.
|
| var kScopeDetailsTypeIndex = 0;
|
| var kScopeDetailsObjectIndex = 1;
|
| +var kScopeDetailsNameIndex = 2;
|
|
|
| function ScopeDetails(frame, fun, index, opt_details) {
|
| if (frame) {
|
| @@ -2271,6 +2273,14 @@ ScopeDetails.prototype.object = function() {
|
| };
|
|
|
|
|
| +ScopeDetails.prototype.name = function() {
|
| + if (!IS_UNDEFINED(this.break_id_)) {
|
| + %CheckExecutionState(this.break_id_);
|
| + }
|
| + return this.details_[kScopeDetailsNameIndex];
|
| +};
|
| +
|
| +
|
| ScopeDetails.prototype.setVariableValueImpl = function(name, new_value) {
|
| var raw_res;
|
| if (!IS_UNDEFINED(this.break_id_)) {
|
|
|