Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SteppingGranularity "block" #356

Open
corneliusweig opened this issue Nov 18, 2022 · 0 comments
Open

Support SteppingGranularity "block" #356

corneliusweig opened this issue Nov 18, 2022 · 0 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@corneliusweig
Copy link

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?

@connor4312 connor4312 added the feature-request Request for new features or functionality label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants