0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Jackson Tian b33e9da8f9 debugger: introduce exec method for debugger
In debugger, the usage of `repl` very ugly. I'd like there is a `p`
like gdb. So the `exec` is coming.

Usage:

```
$ ./iojs debug ~/git/node_research/server.js
< Debugger listening on port 5858
connecting to 127.0.0.1:5858 ... ok
break in /Users/jacksontian/git/node_research/server.js:1
> 1 var http = require('http');
  2
  3 http.createServer(function (req, res) {
debug> exec process.title
/Users/jacksontian/git/io.js/out/Release/iojs
debug>
```

And the `repl`:

```
debug> repl
Press Ctrl + C to leave debug repl
> process.title
'/Users/jacksontian/git/io.js/out/Release/iojs'
debug>
(^C again to quit)
```

The enter and leave debug repl is superfluous.

R-URL: https://github.com/nodejs/node/pull/1491
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-11-17 12:11:40 -08:00
..
_toc.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
addons.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
all.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
assert.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
buffer.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
child_process.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
cluster.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
console.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
crypto.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
debugger.markdown debugger: introduce exec method for debugger 2015-11-17 12:11:40 -08:00
dgram.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
dns.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
documentation.markdown node: rename from io.js to node 2015-08-23 17:59:43 -04:00
domain.markdown doc: small typo in domain.markdown 2015-08-25 18:52:05 -07:00
errors.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
events.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
fs.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
globals.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
http.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
https.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
index.markdown
modules.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
net.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
os.markdown doc: sort os alphabetically 2015-11-12 17:39:55 -08:00
path.markdown doc: sort path alphabetically 2015-11-12 17:39:59 -08:00
process.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
punycode.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
querystring.markdown doc: sort querystring alphabetically 2015-11-12 17:40:07 -08:00
readline.markdown doc: sort readline alphabetically 2015-11-12 17:40:33 -08:00
repl.markdown doc: sort repl alphabetically 2015-11-16 22:45:53 -08:00
stream.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
string_decoder.markdown doc: sort string_decoder alphabetically 2015-11-12 17:40:26 -08:00
synopsis.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
timers.markdown doc: sort timers alphabetically 2015-11-12 17:40:23 -08:00
tls.markdown tls: use SHA1 for sessionIdContext 2015-11-16 17:26:23 -05:00
tty.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
url.markdown doc: sort url alphabetically 2015-11-12 17:40:15 -08:00
util.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
v8.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
vm.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00
zlib.markdown doc: consistent reference-style links 2015-11-16 07:36:59 -08:00