From 0adc6b29bd193b27bdbbce0e2e414efbee0453ab Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 23 Dec 2010 10:10:28 -0800 Subject: [PATCH] Start on frame zero - don't do extra break --- lib/_debugger.js | 2 +- src/node.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/_debugger.js b/lib/_debugger.js index 802e2da1e6a..6be3fa55b8c 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -119,7 +119,7 @@ function Client() { this._reqCallbacks = []; var socket = this; - this.currentFrame = NO_FRAME; + this.currentFrame = 0; this.currentSourceLine = -1; // Note that 'Protocol' requires strings instead of Buffers. diff --git a/src/node.cc b/src/node.cc index d81aab841a7..c349afb8dd9 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1960,7 +1960,7 @@ static void HandleDebugEvent(DebugEvent event, // TODO probably need to waitpid here or something to avoid zombies. // int status; // waitpid(pid, &status, 0); - Debug::DebugBreak(); + //Debug::DebugBreak(); }