0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 15:30:56 +01:00
nodejs/doc
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
..
api debugger: introduce exec method for debugger 2015-11-17 12:11:40 -08:00
api_assets doc: made code spans more visible in the API docs 2015-10-29 22:57:03 +01:00
tsc-meetings doc: add TSC meeting minutes 2015-10-21 2015-10-26 09:36:42 -07:00
full-white-stripe.jpg installer: fix installers for node.js rename 2015-08-23 17:59:43 -04:00
node.1 doc: update V8 options in man page 2015-10-14 11:20:35 -07:00
osx_installer_logo.png installer: fix installers for node.js rename 2015-08-23 17:59:43 -04:00
releases.md doc: jenkins-iojs.nodesource.com -> ci.nodejs.org 2015-09-24 00:20:53 +02:00
template.html node: rename from io.js to node 2015-08-23 17:59:43 -04:00
thin-white-stripe.jpg installer: fix installers for node.js rename 2015-08-23 17:59:43 -04:00