[debugger] use newly added `eval` argument for REPLServer
authorFedor Indutny <fedor.indutny@gmail.com>
Wed, 7 Sep 2011 16:36:26 +0000 (23:36 +0700)
committerFedor Indutny <fedor.indutny@gmail.com>
Thu, 8 Sep 2011 19:06:06 +0000 (02:06 +0700)
lib/_debugger.js

index 59f5a7a..63dc36a 100644 (file)
@@ -640,8 +640,8 @@ function Interface() {
     self.killChild();
   });
 
-  this.repl = new repl.REPLServer('debug> ');
-  this.repl.eval = this.controlEval.bind(this);
+  this.repl = new repl.REPLServer('debug> ', null,
+                                  this.controlEval.bind(this));
 
   // Lift all instance methods to repl context
   var proto = Interface.prototype,