Exit of node process on --inspect (Windows)

36 views
Skip to first unread message

madana gopal

unread,
May 23, 2019, 2:10:38 PM5/23/19
to nodejs
Hi,

When we try to pass --inspect to node on windows 10, it is exiting from exection in below line from inspector_io.cc. Node version is 8.15. Please share your thoughts on how to rectify this. 

bool InspectorIo::Start() {
 CHECK_EQ(state_, State::kNew);
  CHECK_EQ(uv_thread_create(&thread_, InspectorIo::ThreadMain, this), 0);
  uv_sem_wait(&thread_start_sem_);    -> Exiting from this line
  if (state_ == State::kError) {
    return false;
  }
  state_ = State::kAccepting;
  if (wait_for_connect_) {
    DispatchMessages();
  }
  return true;
}

Thanks

Regards,
Madan

madana gopal

unread,
Jun 6, 2019, 9:59:09 PM6/6/19
to nodejs
Checked , issue is because of some uv lib in system overriding node uv lib in runtime in our system. Closing this case, as it is not related to node.
Reply all
Reply to author
Forward
0 new messages