-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Stop inspect the main thread Blocked. #12559
Comments
Is it "Waiting for frontend to disconnect"? |
I don't thing so,because my chrome inspector not connected. |
@823639792 Can you post exact steps to reproduce and check whether it still happens with the latest v7.x release? |
node version: 7.8.0 In fact, I embeded node in my win32 application, And want to reload nodejs: release and alloc new。 And I force edit source code: void AgentImpl::Stop() {
#if 0
//remove by hzy
int err = uv_thread_join(&thread_);
CHECK_EQ(err, 0);
#else
server_->Stop(nullptr);
#endif
delete inspector_;
} Now node can reload when inspector not connect, but if inspector connect it still crash。 |
Thank you for reporting it. I see the issue, debugging now. |
@eugeneo
|
Are you using Chrome DevTools? Try the same with a different frontend (e.g. VS Code). Chrome DevTools have a bug - https://bugs.chromium.org/p/chromium/issues/detail?id=718619 - I hope I will have time this week to look into it. |
Both “chrome://inspect” and connecting through “chrome-devtools://...” blocked。 |
This change ensures that the WebSocket server can be stopped (and restarted if needed) buy calling process._debugEnd. PR-URL: #12777 Fixes: #12559 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
This change ensures that the WebSocket server can be stopped (and restarted if needed) buy calling process._debugEnd. PR-URL: #12777 Fixes: #12559 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
node version: 7.5.0
platform: win7
I start node with "node --inspect c:\node.js"
And I wand to stop inspect, but the main thread Blocked.
and block in
call process._debugEnd(); have same question.
The text was updated successfully, but these errors were encountered: