Skip to content

debugger: fix TypeError of list command in inspector repl#42776

Merged
aduh95 merged 5 commits intonodejs:masterfrom
cola119:fix-cannot-read-props-of-null-error
May 22, 2022
Merged

debugger: fix TypeError of list command in inspector repl#42776
aduh95 merged 5 commits intonodejs:masterfrom
cola119:fix-cannot-read-props-of-null-error

Conversation

@cola119
Copy link
Member

@cola119 cola119 commented Apr 18, 2022

Currently list command throws TypeError after the inspector is disconnected.
This PR fixed to throw ERR_DEBUGGER_ERROR instead of TypeError.

Fixes: #42775

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. debugger Issues and PRs related to the debugger subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debugger's list command throws TypeError: Cannot read properties of null (reading 'list')

9 participants