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

Add ability to Set Next Statement when debugging #3804

Closed
loligans opened this issue May 22, 2020 · 3 comments
Closed

Add ability to Set Next Statement when debugging #3804

loligans opened this issue May 22, 2020 · 3 comments

Comments

@loligans
Copy link

The ability to modify the instruction pointer to a different location without running any code is an extremely useful debugging feature in C#. I'd like to request this feature be added into the toolset.

Visual Studio has an implementation of this, referred to as "Set Next Statement" in the UI. It is normally done by either dragging the yellow arrow indicating the currently executing line of code or by right clicking a line and choosing "Set Next Statement".

It appears the protocol for this is already implemented in VS Code.
Issue: microsoft/vscode-debugadapter-node#28
PR: microsoft/vscode-debugadapter-node#45

@gregg-miskelly
Copy link
Contributor

gregg-miskelly commented May 23, 2020

This feature exists already. Right click on the line you want to go to and invoke "Jump to Cursor".

@loligans
Copy link
Author

Is it possible to drag the arrow or is that something the VSCode team would have to implement?

@gregg-miskelly
Copy link
Contributor

The VS Code team would need to implement that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants