[Qt-creator] access to gdb console

André Pönitz apoenitz at t-online.de
Tue Jan 5 15:43:04 CET 2021


On Tue, Dec 29, 2020 at 02:46:32PM -0500, Stefan Seefeld wrote:
> Hello,
> 
> I'm working on a big project including many C++ libraries and applications,
> as well as a number of Python bindings (extension modules).
> 
> In some cases, I need to start the debugger (gdb), set up the environment
> (e.g. run `exec target python3`), then start the target app (often enough a
> Python wrapper script). (The process is described here: https://www.boost.org/doc/libs/1_75_0/libs/python/doc/html/faq/how_do_i_debug_my_python_extensi.html)
> 
> While I'm comfortable doing all of this from a terminal, I have difficulties
> figuring out how to do this from within qtcreator.
> 
> Could someone please help ? Does qtcreator give access to the debugger
> console ?

No. Or rather, "not really". You can open the debugger log view and
enter normal gdb commands on the left side (either in the "Command:"
line edit or the text field (and send with Alt-Return from there).
But this is not a full console.

Andre'


More information about the Qt-creator mailing list