| Index: src/debug-debugger.js
|
| diff --git a/src/debug-debugger.js b/src/debug-debugger.js
|
| index a588b4c21d79d0a12e9163505471cb48191bb520..19209d4b95d900d3d61cc17cc735d6ac3cd45391 100644
|
| --- a/src/debug-debugger.js
|
| +++ b/src/debug-debugger.js
|
| @@ -957,12 +957,17 @@ function ExecutionState(break_id) {
|
| this.selected_frame = 0;
|
| }
|
|
|
| -ExecutionState.prototype.prepareStep = function(opt_action, opt_count) {
|
| +ExecutionState.prototype.prepareStep = function(opt_action, opt_count,
|
| + opt_callframe) {
|
| var action = Debug.StepAction.StepIn;
|
| if (!IS_UNDEFINED(opt_action)) action = %ToNumber(opt_action);
|
| var count = opt_count ? %ToNumber(opt_count) : 1;
|
| + var callFrameId = 0;
|
| + if (!IS_UNDEFINED(opt_callframe)) {
|
| + callFrameId = opt_callframe.details_.frameId();
|
| + }
|
|
|
| - return %PrepareStep(this.break_id, action, count);
|
| + return %PrepareStep(this.break_id, action, count, callFrameId);
|
| };
|
|
|
| ExecutionState.prototype.evaluateGlobal = function(source, disable_break,
|
|
|