microsoft / microsoft/debug-adapter-protocol
Support SteppingGranularity "block"
Open
@roblourens is already working on this.
Since Nov 18, 2022.
feature-request
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 173
- Avg merge
- 7d 7h
- Merged PRs (30d)
- 2
Description
DAP supports SteppingGranularity, which is defined as
type SteppingGranularity = 'statement' | 'line' | 'instruction';
However, some debuggers like LLDB support stepping to the end of a block. From LLDB help:
$ help thread step-over
-e <linenum> ( --end-linenumber <linenum> )
The line at which to stop stepping - defaults to the next line and only supported for step-in and step-over. You can also pass the string
'block' to step to the end of the current block. This is particularly use in conjunction with --step-target to step through a complex
calling sequence.
So the following steps to the end of the current block:
thread step-over -e block
Could this "block" verb be added to SteppingGranularity?
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.
Assessment
This issue has not been assessed yet.