-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inspector hangs if try to call from Console #13320
Labels
inspector
Issues and PRs related to the V8 inspector protocol
Comments
/cc @nodejs/v8-inspector |
Can you clarify please? I cannot reproduce. This is what I was doing:
function sum() {
var a = 1;
var b = 2;
var c = a + b;
console.log(c);
}
function doCall() {
sum();
setTimeout(doCall, 1000);
}
doCall();
What I see:
|
@eugeneo, working scenario:
global.sum = function sum() {
var a = 1;
var b = 2;
var c = a + b;
console.log(c);
}
require("restify").createServer().listen();
|
Thank you. I confirmed the issue, looking into it now. |
3 tasks
jasnell
pushed a commit
that referenced
this issue
Jun 5, 2017
This change allows reentering the message dispatch loop when the Node is paused. This is necessary when the pause happened as a result of the message sent by a debug frontend, such as evaluating a function with a breakpoint inside. Fixes: #13320 PR-URL: #13350 Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: