nodejs / nodejs/node

Debugger.setInstrumentationBreakpoint is broken

Open
#31,138 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

inspector
Dominant language
JavaScript
Stars
122k
Forks
37.3k
Avg merge
4d 2h
Merged PRs (30d)
283

Description

  • Version: v14.0.0-pre, master branch
  • Platform: Linux
  • Subsystem: inspector

Newly added Debugger.setInstrumentationBreakpoint inspector API doesn't work for me. Changes were introduced for request #24687. The same API works fine in Chrome.

I've created a test #31137. Breakpoints for scripts with sourcemaps only don't work either. If I use the protocol incorrectly, please let me know which additional methods should be called.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running or reading test #31137 and tracing the inspector entry point for Debugger.setInstrumentationBreakpoint. Compare the behavior with the Chrome protocol behavior described in the issue, including scripts with sourcemaps. Done means the API works for the reported breakpoint cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.