| Index: src/debug/mirrors.js
|
| diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
|
| index 8b9dd02b6ea0bd5cc029b3b16499df0b1fe948c7..787cc64649cb7ace1ba1b20bbe8ee5c9abe29362 100644
|
| --- a/src/debug/mirrors.js
|
| +++ b/src/debug/mirrors.js
|
| @@ -2177,6 +2177,9 @@ FrameMirror.prototype.toText = function(opt_locals) {
|
| var kScopeDetailsTypeIndex = 0;
|
| var kScopeDetailsObjectIndex = 1;
|
| var kScopeDetailsNameIndex = 2;
|
| +var kScopeDetailsStartPositionIndex = 3;
|
| +var kScopeDetailsEndPositionIndex = 4;
|
| +var kScopeDetailsFunctionIndex = 5;
|
|
|
| function ScopeDetails(frame, fun, index, opt_details) {
|
| if (frame) {
|
| @@ -2221,6 +2224,29 @@ ScopeDetails.prototype.name = function() {
|
| };
|
|
|
|
|
| +ScopeDetails.prototype.startPosition = function() {
|
| + if (!IS_UNDEFINED(this.break_id_)) {
|
| + %CheckExecutionState(this.break_id_);
|
| + }
|
| + return this.details_[kScopeDetailsStartPositionIndex];
|
| +}
|
| +
|
| +
|
| +ScopeDetails.prototype.endPosition = function() {
|
| + if (!IS_UNDEFINED(this.break_id_)) {
|
| + %CheckExecutionState(this.break_id_);
|
| + }
|
| + return this.details_[kScopeDetailsEndPositionIndex];
|
| +}
|
| +
|
| +ScopeDetails.prototype.func = function() {
|
| + if (!IS_UNDEFINED(this.break_id_)) {
|
| + %CheckExecutionState(this.break_id_);
|
| + }
|
| + return this.details_[kScopeDetailsFunctionIndex];
|
| +}
|
| +
|
| +
|
| ScopeDetails.prototype.setVariableValueImpl = function(name, new_value) {
|
| var raw_res;
|
| if (!IS_UNDEFINED(this.break_id_)) {
|
|
|