-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Debugging v8.5 - always pauses in async_hooks.js on promise rejection #15464
Copy link
Copy link
Closed
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.inspectorIssues and PRs related to the V8 inspector protocol.Issues and PRs related to the V8 inspector protocol.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.
Description
Activity
Metadata
Metadata
Assignees
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.inspectorIssues and PRs related to the V8 inspector protocol.Issues and PRs related to the V8 inspector protocol.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.
Have this code:
When I debug it in Chrome Devtools or VS Code, even when it's set to not break on exceptions, it pauses on
function emitDestroyScript(asyncId) {...in async_hook.js after the promise is rejected.The stack where it pauses is
The reason on the Debugger.paused message is "other".