From f549f2bf1de5d2d1c1dddb8234b3251be7e2c27b Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Wed, 7 Sep 2011 21:42:41 +0700 Subject: [PATCH] [debugger] Fix help message --- lib/_debugger.js | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/lib/_debugger.js b/lib/_debugger.js index c7ba4286d6..59f5a7a412 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -567,18 +567,19 @@ Client.prototype.fullTrace = function(cb) { var commands = [ - 'backtrace', - 'continue', 'help', - 'info breakpoints', + 'run', + 'restart', + 'cont', + 'next', + 'step', + 'out', + 'repl', + 'backtrace', + 'breakpoints', 'kill', 'list', - 'next', - 'print', - 'quit', - 'run', 'scripts', - 'step', 'version' ]; @@ -790,9 +791,7 @@ function leftPad(n) { // Print help message Interface.prototype.help = function() { - this.pause(); - process.stdout.write(helpMessage); - this.resume(); + console.log(helpMessage); };