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

Should we split until into two commands? #116

Open
cpitclaudel opened this issue Jun 1, 2016 · 5 comments
Open

Should we split until into two commands? #116

cpitclaudel opened this issue Jun 1, 2016 · 5 comments

Comments

@cpitclaudel
Copy link
Member

cpitclaudel commented Jun 1, 2016

IOW, should we have:

  • one command for "run until current line" (edebug maps this to h for "here")
  • one command for "run until a greater source line is reached" (which is currently what U does in RealGUD, except when given a prefix argument)

Splitting would be useful, I think: this way one could place the point on some line and press h to go there. On debuggers that don't build this in we could use tbreak, as already suggested by the docstring of cmd-until.

@rocky
Copy link
Collaborator

rocky commented Jun 1, 2016

I have no opinion so go ahead. If others object, they'll let you know.

@cpitclaudel
Copy link
Member Author

Perfect. AFAICT there will be no functional change to the command currently bound to U, except for the prefix argument case.

@cranechu
Copy link
Contributor

cranechu commented Dec 9, 2018

Is this function available now? It's quite useful.

@rocky
Copy link
Collaborator

rocky commented Dec 9, 2018

I don't think so, and I am not sure which of the existing debuggers support this.

So feel free to implement it.

@cranechu
Copy link
Contributor

Hi, Rocky,

Here is the pull request: #230
Hope the code is useful, and thank you for the hard work on realgud!

Thanks,
-Crane

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