(frame, scope_index)
| 378 | } |
| 379 | |
| 380 | execStateScope(frame, scope_index) { |
| 381 | const scope = frame.scopeChain[scope_index]; |
| 382 | return { scopeType : () => this.execStateScopeType(scope.type), |
| 383 | scopeIndex : () => scope_index, |
| 384 | frameIndex : () => frame.callFrameId, |
| 385 | scopeObject : () => this.execStateScopeObject(scope.object), |
| 386 | setVariableValue : |
| 387 | (name, value) => this.setVariableValue(frame, scope_index, |
| 388 | name, value), |
| 389 | }; |
| 390 | } |
| 391 | |
| 392 | // Takes a list of properties as produced by getProperties and turns them |
| 393 | // into an object. |
no test coverage detected