golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.79k stars 729 forks source link

debug: support "Step Into Target" functionality #3151

Open gayanper opened 5 months ago

gayanper commented 5 months ago

Is your feature request related to a problem? Please describe. When debugging code lines which has nested method invocation, you always have to first Step-In to all nested invocations before you can Step-In to the outer invocation which I want to step into.

Describe the solution you'd like I would like to have support from GO DA to support "Step Into Target" functionality via using the DAP StepInTargetsRequest and StepInArguments.targetId. This will enable to select which method invocation I would like to step-in so that all other nested invocations are skipped.

Describe alternatives you've considered None