Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: Expanding the arguments property of a function object locks up Node.js [269]

$
0
0
While debugging this:
```
var http = require('http');
var port = process.env.port || 1337;
http.createServer(function (req, res) {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World\n');
}).listen(port);
```

Set a breakpoint inside the server function and expand `req.connection.ondata.arguments`. Node.js will stop responding to debugger requests (except Stop) and burn a CPU core until it is killed.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>