projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2577b
)
[debugger] Fix help message
author
Fedor Indutny
<fedor.indutny@gmail.com>
Wed, 7 Sep 2011 14:42:41 +0000
(21:42 +0700)
committer
Fedor Indutny
<fedor.indutny@gmail.com>
Thu, 8 Sep 2011 19:06:06 +0000
(
02:06
+0700)
lib/_debugger.js
patch
|
blob
|
history
diff --git
a/lib/_debugger.js
b/lib/_debugger.js
index
c7ba428
..
59f5a7a
100644
(file)
--- 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);
};