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

Termdebug: add Frame command to switch the frame #9234

Open
GitMensch opened this issue Nov 28, 2021 · 0 comments
Open

Termdebug: add Frame command to switch the frame #9234

GitMensch opened this issue Nov 28, 2021 · 0 comments

Comments

@GitMensch
Copy link
Contributor

GitMensch commented Nov 28, 2021

That's actually a quite easy addition, so I'll likely work on this sometime in the next weeks. The goal is to reduce the amount of things one as to move to the gdb Window or use :call TermDebugSendCommand() for.

Specification:

  • when arg is a number: execute the frame N command
  • when arg is "u[p] [N]"/"d[own] [N]" execute the up [N] / down [N] commands
  • when arg is "s[elected]" query the current selected frame S and execute the matching frame S command
  • when arg is "f[ile]" try to find the most inner frame F matching the file opened in the current buffer and execute the matching frame F command
  • in every other case: execute the frame function arg command

If this is unlikely to be merged then please say up-front, otherwise expect a pull request in one or two weeks :-)
If this is something you' like to see, please just react to this 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

2 participants