microsoft / microsoft/debug-adapter-protocol
Debug adapters can notify VSCode about out-of-band line breakpoints but not command breakpoints
Nobody has claimed this yet.
- 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;
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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