Вы можете войти / выйти из режима TUI с помощью одной из следующих комбинаций:
- Cx Ca
- Cx a
- Cx A
У меня есть этот GDB TUI / макет на. Как вернуться к стандартному виду GDB? Я не могу просто перезапустить GDB, потому что у меня на руке важная обратная трассировка, и пока у меня есть эти дополнительные окна, я не могу хорошо прокручивать основной вид.
Вы можете войти / выйти из режима TUI с помощью одной из следующих комбинаций:
Beacause of the bug Ulerich mentioned which breaks the mappings if you have vi
mode in your .inputrc
, I have requested a workaround at https://sourceware.org/ml/gdb/2015-06/msg00009.html and Andrew Burgess replied that he had just submitted a well received patch to add:
tui enable tui disable
so in future versions we should have commands as an alternative to the shortcuts.
I have later tested this on GDB 8.1 in Ubuntu 18.04 and it worked perfectly.
But then I saw the light and moved from TUI to GDB Dashboard: https://github.com/cyrus-and/gdb-dashboard which is simply more powerful and less buggy.
See also: https://stackoverflow.com/questions/8409540/how-to-close-layout-src-windows-in-gdb