Skip to content

Stop inspect the main thread Blocked. #12559

@823639792

Description

@823639792

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.

	global_env->inspector_agent()->Stop();  // this line blocked.
        global_env->debugger_agent()->Stop();

and block in

int uv_thread_join(uv_thread_t *tid) {
  if (WaitForSingleObject(*tid, INFINITE))    //this line  block forever
    return uv_translate_sys_error(GetLastError());
  else {
    CloseHandle(*tid);
    *tid = 0;
    return 0;
  }
}

call process._debugEnd(); have same question.

Metadata

Metadata

Assignees

Labels

c++Issues and PRs that require attention from people who are familiar with C++.inspectorIssues and PRs related to the V8 inspector protocolquestionIssues that look for answers.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions