microsoft / microsoft/debug-adapter-protocol

Debug adapters can notify VSCode about out-of-band line breakpoints but not command breakpoints

Open
#223 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
HTML
Stars
1.8k
Forks
173
Avg merge
7d 7h
Merged PRs (30d)
2

Description

I work on the PowerShell debug adapter and that adapter provides a REPL while debugging. In the PowerShell Integrated Console during debugging, a user can use a PowerShell command Set-PSBreakpoint to set both line and function breakpoints. On the line breakpoints we can use the BreakpointEvent to communicate this back to VSCode;

https://github.com/Microsoft/vscode-debugadapter-node/blob/b61cf04501cfe7356b695f99bc60961684f89a4f/protocol/src/debugProtocol.ts#L179-L189

However I'm not finding an equivalent event for function breakpoints. What am I missing? Or is this missing from the debug protocol?

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 with protocol/src/debugProtocol.ts at the BreakpointEvent definition linked in the issue, then compare it with the PowerShell adapter's Set-PSBreakpoint behavior for function breakpoints. Determine whether the existing protocol represents this notification or whether a protocol addition is needed; done means resolving that question with the relevant protocol behavior identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, vscode
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.