Commit Graph

4436 Commits (360ce526fd5391a955005b27f327bda83acac6dd)

Author SHA1 Message Date
Fedor Indutny df480e0357 fix syntax error handling for 'throw ...', fix return value assertion 2011-09-11 02:19:42 -07:00
Bert Belder 55c1546f01 Un-break the windows build 2011-09-11 03:54:08 +02:00
Bert Belder 10e7c52a70 win: make test-cli-eval.js pass 2011-09-11 03:52:44 +02:00
Ryan Dahl 0f211048a0 Upgrade libuv to efa1b54 2011-09-10 18:40:40 -07:00
Ryan Dahl 67cc5c9218 Merge remote branch 'indutny/feature-debugger'
Fixes #1667
2011-09-10 17:46:14 -07:00
Fedor Indutny b942c6339a Remove obsolete 'using v8::Null'
Fixes #1680.
2011-09-10 17:44:52 -07:00
Fedor Indutny 8c2c7bb8a9 vm context with accessors
fixes #1673
2011-09-10 10:51:58 -07:00
Fedor Indutny fe4b0f40d6 [debugger] fixed piping from stdout of child process, fixed eval in debug repl (when not on breakpoint) 2011-09-10 23:55:38 +07:00
Fedor Indutny 54520981a4 [debugger] implemented setBreakpoint, etc
Lift prototype methods not only as accessors, but as properties too.
this.print() supports javascript objects inspection
this.error() implemented, don't throw error at callbacks and commands
Fixed list() invokation, when script is not on a breakpoint
Removed obsolete process.nextTick from `step` commands
2011-09-10 19:18:36 +07:00
Fedor Indutny db6526f962 [debugger] deep cloning (depth = 3) 2011-09-10 18:39:34 +07:00
Fedor Indutny 69fa7ef65d [debugger] fix slow repl evals inside async callbacks 2011-09-10 18:19:47 +07:00
Fedor Indutny 79265fe389 [debugger] rename function, add it to ignore list 2011-09-10 17:57:55 +07:00
Fedor Indutny 5a3639985a [debugger] print data from child process' stdout and stderr 2011-09-10 17:43:22 +07:00
Fedor Indutny 3dd573e858 [debugger] nicier output, clear line before writing 2011-09-10 17:33:07 +07:00
Fedor Indutny 03adceec62 [debugger] more informative break message (reverting back partially) 2011-09-10 12:48:21 +07:00
Ryan Dahl 8821eb24c2 Correct date 2011-09-09 20:18:40 -07:00
Bert Belder 0be4812c35 Now working on v0.5.7 2011-09-10 01:38:51 +02:00
Bert Belder b49bec5580 Bump version to 0.5.6 2011-09-10 00:29:35 +02:00
Bert Belder 0a72ac3770 Upgrade libuv to bd6066cb 2011-09-10 00:29:27 +02:00
Igor Zinkovsky 79ce48d3f0 fix for test-fs-chmod 2011-09-09 21:09:59 +02:00
Ben Noordhuis fa334ef0b7 build: install uv-private/*.h, fixes native add-on builds 2011-09-09 17:30:08 +02:00
Bert Belder 97cf216c74 Upgrade libuv to e95a29ee18 2011-09-09 15:05:12 +02:00
Bert Belder b5db0767d5 net_uv: fix 'set is undefined' error 2011-09-09 14:59:54 +02:00
Bert Belder f810998871 net_uv: use sufficient buffer to read sock/peername 2011-09-09 14:59:27 +02:00
Igor Zinkovsky 85357abba1 fix test-fs-chmod test 2011-09-09 14:45:37 +02:00
Ryan Dahl 03c2f62020 Upgrade V8 to 3.6.2 2011-09-08 16:11:20 -07:00
Bert Belder 0a127d6a69 Upgrade libuv to 2d1c672e 2011-09-08 23:53:40 +02:00
Ryan Dahl b6e0433755 Upgrade libuv to 5b567b2 2011-09-08 14:29:12 -07:00
Ryan Dahl 26834b0524 Revert "vm context with accessors"
This reverts commit 4527de8cba.

Causes segfault in test/message/undefined_reference_in_new_context.js
2011-09-08 13:30:52 -07:00
Fedor Indutny 8d7aade663 [debugger] call silent resume in debugEval to prevent incorrect cursor position after repl autocompletion, small refactor in readline 2011-09-09 03:05:21 +07:00
Igor Zinkovsky 65e6ba9cce Enable link, symlink, and readlink on windows 2011-09-08 12:52:08 -07:00
Fedor Indutny 01349bbd70 [debugger] added synonyms for run, cont, next, step, out, shorten breakpoint message and do not output explicit debug> on breaks 2011-09-09 02:33:28 +07:00
Fedor Indutny 46382a728a [debugger] resume stdin at right time when running code remotely 2011-09-09 02:06:07 +07:00
Fedor Indutny d36d5c34df [debugger] revert to using getter 2011-09-09 02:06:07 +07:00
Fedor Indutny 199f90b138 [debugger] fix messages 2011-09-09 02:06:07 +07:00
Fedor Indutny 22eb2d5084 [debugger] pause stdin on debugEval 2011-09-09 02:06:07 +07:00
Fedor Indutny 3b593c9ec5 [debugger] handle lookup error, no more need to handle SyntaxErrors 2011-09-09 02:06:07 +07:00
Fedor Indutny e13ed4a8d0 [repl, readline] refactor async completion and execution 2011-09-09 02:06:07 +07:00
Fedor Indutny 2c2397d333 [debugger] simulate getters 2011-09-09 02:06:07 +07:00
Fedor Indutny 00343a9af0 [debugger] display message on repl(), do not display warnings on Ctrl+C 2011-09-09 02:06:07 +07:00
Fedor Indutny 77eb8eabe2 [debugger] use newly added `eval` argument for REPLServer 2011-09-09 02:06:06 +07:00
Fedor Indutny 0d4dc3a8b5 [repl] let self.eval be configurable on REPLServer initialization 2011-09-09 02:06:06 +07:00
Fedor Indutny f549f2bf1d [debugger] Fix help message 2011-09-09 02:06:06 +07:00
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).
2011-09-09 02:06:06 +07:00
Fedor Indutny e01635eb9b [debugger] port all commands 2011-09-09 02:06:06 +07:00
Fedor Indutny eab65e214e [repl] Async global completion 2011-09-09 02:06:06 +07:00
Fedor Indutny 134ab61131 [debugger] two repls, initial 2011-09-09 02:06:06 +07:00
Fedor Indutny 71a9aefa0f [readline, repl] Fix completion grouping, fix parens eval results
handling
2011-09-09 02:06:06 +07:00
Fedor Indutny 42b8b77d9f [repl, readline] async interface
Add async completion and execution interface for repl and readline
2011-09-09 02:06:06 +07:00
Fedor Indutny bd69afbc83 [debugger] readline => repl
Started porting to high-level javascript API and repl.
2011-09-09 02:06:05 +07:00