summaryrefslogtreecommitdiff
path: root/lib/_debugger.js
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2011-11-03 04:38:38 +0600
committerRyan Dahl <ry@tinyclouds.org>2011-11-02 15:55:36 -0700
commit9ad27f7853089bd24f1093f1617b68808fc87457 (patch)
tree63c3d59212d48a475ab505524b2e3b4a38d3a0e4 /lib/_debugger.js
parentc8646e0c4159aa53b2ae94d1b69850ce5fa62ca2 (diff)
downloadnode-new-9ad27f7853089bd24f1093f1617b68808fc87457.tar.gz
ignore undefined messages in the debugger repl
fixes #1995
Diffstat (limited to 'lib/_debugger.js')
-rw-r--r--lib/_debugger.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js
index 1269f56a2b..a6bc213e06 100644
--- a/lib/_debugger.js
+++ b/lib/_debugger.js
@@ -724,7 +724,7 @@ function Interface(stdin, stdout, args) {
// Two eval modes are available: controlEval and debugEval
// But controlEval is used by default
this.repl = new repl.REPLServer('debug> ', streams,
- this.controlEval.bind(this));
+ this.controlEval.bind(this), false, true);
// Kill child process when repl closed or main process is dead
this.repl.rli.addListener('close', function() {