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 "Jump to cursor" debugging functionality #3936

Closed
daravi opened this issue Jul 17, 2019 · 2 comments
Closed

Add "Jump to cursor" debugging functionality #3936

daravi opened this issue Jul 17, 2019 · 2 comments

Comments

@daravi
Copy link

daravi commented Jul 17, 2019

Type: Debugger
Feature Request

As per the new stable release (1.36), VSCode now supports debugging extensions' ability to add a "Jump to cursor" functionality to the context menu and/or the command palette.

This will let the debugger to skip code and jump to a specific line to continue the execution.

This is already implemented in the C# extension
. It would be great if the C++ extension also implements the feature.

@WardenGnaw
Copy link
Member

This feature will need to do a couple things:

The -exec-jump Command

Synopsis
-exec-jump location
Resumes execution of the inferior program at the location specified by parameter. See Specify Location, for a description of the different forms of location.

GDB Command
The corresponding GDB command is ‘jump’.

Example

-exec-jump foo.c:10
*running,thread-id="all"
^running

From https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Program-Execution.html

@pieandcakes
Copy link
Contributor

pieandcakes commented Jul 18, 2019

This is a duplicate of the work to do in #1025. Please go vote on that issue.

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

3 participants