File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -791,12 +791,12 @@ step_into([{opts}]) *dap.step_into()*
791
791
If it cannot step into a function or method it behaves like
792
792
| dap.step_over() | .
793
793
794
- If the debug adapter has the `supportsStepInTargetsRequest` and
795
- {ask_for_targets } is true, the user can choose into which function they
796
- want to step into if there are multiple.
794
+ If the debug adapter has the `supportsStepInTargetsRequest` capability and
795
+ {askForTargets } is true, the user can choose into which function they
796
+ want to step into if there are multiple choices .
797
797
798
798
Some debug adapters allow a more fine-grained control over the
799
- behavior of this command using the {opts} parameter:
799
+ behavior of this command using the `steppingGranularity` {opts} parameter:
800
800
801
801
steppingGranularity:
802
802
Can be 'statement' | 'line' | 'instruction'
Original file line number Diff line number Diff line change @@ -563,6 +563,7 @@ function M.restart_frame()
563
563
end
564
564
565
565
566
+ --- @param opts ? { askForTargets ?: boolean , steppingGranularity ?: dap.SteppingGranularity }
566
567
function M .step_into (opts )
567
568
session = first_stopped_session ()
568
569
if not session then
Original file line number Diff line number Diff line change 246
246
--- @class dap.StartDebuggingRequestArguments
247
247
--- @field configuration table<string , any>
248
248
--- @field request ' launch' | ' attach'
249
+
250
+
251
+ --- @alias dap.SteppingGranularity ' statement' | ' line' | ' instruction'
You can’t perform that action at this time.
0 commit comments