Fedor Indutny
f549f2bf1d
[debugger] Fix help message
13 years ago
Fedor Indutny
3b2577b4fe
[debugger] restructurize code, eval control repl asynchronously
Move commands closer to each other, use .debugEval and .controlEval for
controlling repl output (no more incorrect 'debug>' prints).
13 years ago
Fedor Indutny
e01635eb9b
[debugger] port all commands
13 years ago
Fedor Indutny
134ab61131
[debugger] two repls, initial
13 years ago
Fedor Indutny
bd69afbc83
[debugger] readline => repl
Started porting to high-level javascript API and repl.
13 years ago
Yoshihiro Kikuchi
82cfdb88fa
fix an broken question.
Fixes #1274 .
14 years ago
Ryan Dahl
f78f654131
Revert "debugger: don't allow users to input non-valid commands"
breaks 'print' command
This reverts commit 37d529f818
.
14 years ago
Siddharth Mahendraker
37d529f818
debugger: don't allow users to input non-valid commands
Fixes #1144 .
14 years ago
Marcel Laverdet
c2b5ea218c
Attempt to connect to debug process more than once
The debugger would give up after only 100ms but on my system this
timeout isn't enough. The startup process is now modified to try 6
times every 50ms instead.
Fixes #1010 .
14 years ago
Ryan Dahl
fc8afd45c7
Fix crash in debugger
14 years ago
koichik
682b66c0c1
Auto completion of built-in debugger suggests prefix match rather than partial match.
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
1f041fe73e
debugger: prevent crash when backtrace doesn't come back
14 years ago
Ryan Dahl
5ad00f82c6
debugger: Don't crash when evaling buffer
14 years ago
Ryan Dahl
9e976abad9
lint
14 years ago
Ryan Dahl
ba80d4d8a9
Transfer data gathering responsibility to readline
Fixes non-raw REPL/Debugger on Posix.
14 years ago
Bert Belder
4475b76535
Readline: use symbolic key names instead of ascii control codes
14 years ago
Ryan Dahl
860e7a7a5f
debugger: don't hang on ^d and ^c
14 years ago
Ryan Dahl
4fa712c48f
debugger: error out without script
TODO:
debug> run script.js
14 years ago
Ryan Dahl
53f29d86c0
debugger: add uncaughtException handler to kill child
14 years ago
Ryan Dahl
0fa3f2febd
debugger: Correctly eval arrays and numbers
14 years ago
Ryan Dahl
533797a607
debugger: full scope evals
14 years ago
Ryan Dahl
d87ab5450b
debugger: Better backtraces
14 years ago
Ryan Dahl
7df8a05129
debugger: primative object inspection
14 years ago
Ryan Dahl
cb71a7dab3
debugger: take help message from commands
14 years ago
Ryan Dahl
4e1e6a2d15
debugger: Don't break on handle === 0
14 years ago
Ryan Dahl
72589b60ad
debugger: Only display basename of scripts
14 years ago
Ryan Dahl
1b63bd16ed
tab completion for commands in debugger
14 years ago
Ryan Dahl
e1f4b3f009
debugger: implement 'list'
14 years ago
Ryan Dahl
5580907c58
debugger: fix 'scripts' command
path.split() no longer available
14 years ago
Ryan Dahl
5a05992155
Lint
14 years ago
Ryan Dahl
d040f1d19d
debugger: use correct handle handle
14 years ago
Ryan Dahl
282cce1ea5
debugger: don't display whole path of scripts
14 years ago
Ryan Dahl
af6662d5e5
debugger: Prompt before quitting
14 years ago
Ryan Dahl
7b9a2f29b4
debugger: Don't prompt until child is killed
14 years ago
Ryan Dahl
aea568b04a
Fix some errors in debugger tests
14 years ago
Ryan Dahl
294bcb33e6
debugger: Fix some parser issues
Wouldn't handle events if it got backed up.
14 years ago
Ryan Dahl
62e0ca05a6
debugger: Disable/Enable raw mode for child
14 years ago
Ryan Dahl
0946474b5c
debugger: Clean ups, bug fixes
14 years ago
Ryan Dahl
866201bd74
debugger: add 'kill' command
14 years ago
Ryan Dahl
a3c4e17c2a
debugger: repeat command functionality
14 years ago
Ryan Dahl
074af67dd3
debugger: don't display node's internal scripts
14 years ago
Ryan Dahl
d4859a55bc
Wrap up debugger in one class
just for better readablity
14 years ago
Ryan Dahl
109f845e49
debugger: style
14 years ago
Ryan Dahl
9244a64b59
debugger: Print error if executing command that requires being connected
14 years ago
Ryan Dahl
481329ee7c
debugger: clean up
14 years ago
Ryan Dahl
f484cbf4c7
Debugger: better maintance of script list
14 years ago
Ryan Dahl
bb400d5697
debugger: Work towards interactive restart
14 years ago
Ryan Dahl
e33d0de129
debugger: Clean up child
14 years ago
Ryan Dahl
90e55c3357
Rather have the debugger be parent process
14 years ago