Skip to content
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: Allows reentry when paused #13350

Merged
merged 1 commit into from
Jun 5, 2017
Merged

inspector: Allows reentry when paused #13350

merged 1 commit into from
Jun 5, 2017

Conversation

eugeneo
Copy link
Contributor

@eugeneo eugeneo commented May 31, 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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

inspector, test

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. dont-land-on-v4.x inspector Issues and PRs related to the V8 inspector protocol labels May 31, 2017
@eugeneo
Copy link
Contributor Author

eugeneo commented May 31, 2017

(I am looking into test failures on different platforms)

@eugeneo
Copy link
Contributor Author

eugeneo commented Jun 2, 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>
@eugeneo
Copy link
Contributor Author

eugeneo commented Jun 5, 2017

Landed as: e6dcc3d

@eugeneo eugeneo closed this Jun 5, 2017
@eugeneo eugeneo merged commit e6dcc3d into nodejs:master Jun 5, 2017
@eugeneo eugeneo deleted the hangs_on_breakpoint branch June 5, 2017 16:38
jasnell pushed a commit that referenced this pull request 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>
@jasnell jasnell mentioned this pull request Jun 5, 2017
@refack refack mentioned this pull request Jun 11, 2017
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inspector hangs if try to call from Console
4 participants