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

On gdb shell, print <var_nam> must wait for user to press enter for more and q for quit and c for continue to print till end. But not happening #309

Open
vs97849 opened this issue Jan 9, 2024 · 3 comments

Comments

@vs97849
Copy link

vs97849 commented Jan 9, 2024

On gdb shell, print <var_nam> must wait for user to press enter for more and q for quit and c for continue to print till end. But not happening .

It seems like by default it acting like it assuming user typed c(continue). So it prints the whole object on gdb shell . So had to scroll up to see from start.
And is impossible when tui mode is in or Ctrl x + a .
Kindly provide options (or suggest):
to wait for user to enter continue and
press enter to go line by line.

@rcaputo @lucianposton @Reinis @braiden
@cyrus-and @ProfDiesel @clint4cake @10110111 @cs01
@ccalmels @Quinny @xeyownt @javier-cabezas @jannewulf @lucianposton @A

@cyrus-and
Copy link
Owner

Pagination is disabled because paging the dashboard is terrible UX.

run('set pagination off')

Previously, I disabled the pagination just during the rendering, but it didn't work well with macOS (for whatever reason).

With my current GDB version (13.2) instead it seems that pagination doesn't affect the dashboard anymore, so I guess I can just get rid of that altogether. But I need to experiment further...

In the meanwhile, try to kill the above line in your .gdbinit.

PS @vs97849 please don't mention random contributors, it's unnecessary noise.

@cyrus-and
Copy link
Owner

As a side note, since the dashboard (by default) discards the terminal's scrollback buffer, it's quite convenient to just scroll back, since there will not be a lot of content.

@vs97849
Copy link
Author

vs97849 commented Jan 10, 2024 via email

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

No branches or pull requests

2 participants