You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I was trying to use gdbgui to ease debugging of weechat, a ncurses application. The trouble with those is that gdb is hard to work with if the application is supposed to be controlling the terminal window entirely at all times. So I thought gdbgui might make it simpler but it didn't because the debugged program started using the web terminal, not the original terminal.
Describe the solution you'd like
Option to make the debuggable program run in the original terminal and write output to there, instead of the one in the web interface which doesn't support necessary escapes to display a ncurses application.
Describe alternatives you've considered
gdbserver or attaching to an existing process can work around this but somehow gdbgui had trouble handling either while gdb was fine directly.
Additional context
Currently the terminal where gdbgui is run is essentially unused anyway. Doesn't hurt to allow giving it to the debuggable program's use anyway.
The text was updated successfully, but these errors were encountered:
set inferior-tty [ tty ]
Set the tty for the program being debugged to tty. Omitting tty restores the default behavior, which is to use the same terminal as GDB.
show inferior-tty
Show the current tty for the program being debugged.
Is your feature request related to a problem? Please describe.
I was trying to use gdbgui to ease debugging of weechat, a ncurses application. The trouble with those is that gdb is hard to work with if the application is supposed to be controlling the terminal window entirely at all times. So I thought gdbgui might make it simpler but it didn't because the debugged program started using the web terminal, not the original terminal.
Describe the solution you'd like
Option to make the debuggable program run in the original terminal and write output to there, instead of the one in the web interface which doesn't support necessary escapes to display a ncurses application.
Describe alternatives you've considered
gdbserver or attaching to an existing process can work around this but somehow gdbgui had trouble handling either while gdb was fine directly.
Additional context
Currently the terminal where gdbgui is run is essentially unused anyway. Doesn't hurt to allow giving it to the debuggable program's use anyway.
The text was updated successfully, but these errors were encountered: