How to run gdb commands from qtcreator debugger?
-
I want to run gdb commands directly from qtcreator debugger. The qtcreator documentation (https://doc.qt.io/qtcreator/creator-debug-mode.html#directly-interacting-with-native-debuggers) says this:
"In Qt Creator, you can use the left pane of the Debugger Log view for that purpose. When you press Ctrl+Enter, the contents of the line under the text cursor are sent directly to the native debugger. Alternatively, you can use the line edit at the bottom of the view."But when I look at the left pane of the "Debugger log view" I do not see a "line edit" at the bottom. I also don't understand what they mean by the "contents of the line under the text cursor". Please see attached image. Can anyone help?
I am running QT Creator 4.8.1
-
I do see Windows->Output Panes->Debugger Console (not called "Debugger Log" in this version - is it the same thing?) - that is already open, see the image attached to this post. But I do not see anywhere to enter a gdb command in either of those Debugger Console panes. The left pane (referred to in the user guide) just shows a list of break points, no text area to enter commands. Where can I find that command line input area?
-
There are no Views menu under Window anymore in the QtCreator 14, however the Debugger log could be reached this way:
Added for the shake of the posterity as It took me a while to figure this out.
-