Lines Matching full:frame
184 // If break point has condition try to evaluate it in the top frame.
186 var mirror = exec_state.frame(0).evaluate(this.condition());
778 ExecutionState.prototype.frame = function(opt_index) {
779 // If no index supplied return the selected frame.
790 if (i < 0 || i >= this.frameCount()) throw new Error('Illegal frame index.');
825 return this.exec_state_.frame(0).func();
830 return this.exec_state_.frame(0).sourceLine();
835 return this.exec_state_.frame(0).sourceColumn();
840 return this.exec_state_.frame(0).sourceLineText();
853 body: { invocationText: this.exec_state_.frame(0).invocationText(),
920 return this.exec_state_.frame(0).func();
925 return this.exec_state_.frame(0).sourceLine();
930 return this.exec_state_.frame(0).sourceColumn();
935 return this.exec_state_.frame(0).sourceLineText();
1231 } else if (request.command == 'frame') {
1555 // Default frame range to include in backtrace.
1573 return response.failed('Invalid frame number');
1581 var error = 'Invalid frame range';
1588 frames.push(this.exec_state_.frame(i));
1610 // With no arguments just keep the selected frame.
1614 return response.failed('Invalid frame number');
1619 response.body = this.exec_state_.frame();
1624 // Get the frame for which the scope or scopes are requested. With no frameNumber
1625 // argument use the currently selected frame.
1629 return response.failed('Invalid frame number');
1631 return this.exec_state_.frame(frame_index);
1633 return this.exec_state_.frame();
1644 // Get the frame for which the scopes are requested.
1645 var frame = this.frameForScopeRequest_(request);
1647 // Fill all scopes for this frame.
1648 var total_scopes = frame.scopeCount();
1651 scopes.push(frame.scope(i));
1668 // Get the frame for which the scope is requested.
1669 var frame = this.frameForScopeRequest_(request);
1675 if (scope_index < 0 || frame.scopeCount() <= scope_index) {
1680 response.body = frame.scope(scope_index);
1691 var frame = request.arguments.frame;
1704 if (!IS_UNDEFINED(frame) && global) {
1705 return response.failed('Arguments "frame" and "global" are exclusive');
1721 // No frames no evaluate in frame.
1726 // Check whether a frame was specified.
1727 if (!IS_UNDEFINED(frame)) {
1728 var frame_number = %ToNumber(frame);
1730 return response.failed('Invalid frame "' + frame + '"');
1732 // Evaluate in the specified frame.
1733 response.body = this.exec_state_.frame(frame_number).evaluate(
1737 // Evaluate in the selected frame.
1738 response.body = this.exec_state_.frame().evaluate(
1821 var frame = this.exec_state_.frame();
1827 if (!IS_UNDEFINED(request.arguments.frame)) {
1828 var frame_number = %ToNumber(request.arguments.frame);
1830 return response.failed('Invalid frame "' + frame + '"');
1832 frame = this.exec_state_.frame(frame_number);
1837 var script = frame.func().script();