Unsolved Full GDB console
-
In Qt creator you can show a gdb mi console via the Debugger log window.
But this is still mi output. I know you can disable this at startup by passing an option to gdb, so that at least this extra mi formatting is removed. But this still isn't a real gdb console. (with emacs keybindings etc.)GDB has a feature to start a new console in a terminal, see https://sourceware.org/gdb/onlinedocs/gdb/Interpreters.html look at the bottom.
See also this presentation from slide 4 onwards: https://gcc.gnu.org/wiki/cauldron2016?action=AttachFile&do=view&target=Caudron2016-PedroAlves-GDBstatus.pdf
As a poor mans solution, I tried this by typing in the above debugger log window "new-ui console /dev/pts/1" whith /dev/pts/1 the tty I want to use, but this doesn't really work well.
I know Eclipse implements this in the CDT plugin. (see https://wiki.eclipse.org/CDT/Archive/FullGDBConsole)
Anynody has an idea if it is difficult to add this feature also to QtCreator myself or if we could request this?
Or could we make it work reliable somehow with the gdb new-ui command ?Best regards,
Gino
-
Hi @Gino,
I know this answer comes late, but you should track and vote for QTCREATORBUG-19870 which is the official suggestion for that feature.
Regards
-
@aha_1980 Thanks for updating the bug report and linking to it here. This is such a fundamental feature in an IDE that I'm disappointed to see it still languishing.
-
Hi @Stokestack,
it seems you already did some investigation on possible implementations of this feature.
Please join the discussion on the linked bugreport, maybe there is really an easy solution?
One year ago, we didn't have the integrated Terminal in Creator, until someone decided to just do it. So keeping the suggestions alive is always recommended ;)
Regards