23

Is there an access to the gdb console from Qt-Creator? For examining frames, dumping to file, etc. Seems a trivial feature but I couldn't find a clear reference to weather it exists or not.

I am using Qt-Creator 2.0.1 under Ubuntu 9.10

Itamar Katz
  • 9,544
  • 5
  • 42
  • 74

2 Answers2

27

Window > Views > Debugger Log. You can type commands in the left pane and send a line to gdb using ctrl+enter. More info here: http://qt-project.org/doc/qtcreator-3.2/creator-debug-mode.html#directly-interacting-with-native-debuggers

For examining frames using the "normal" views, especially the Watchers part of the Locals and Watchers view should probably be the better approach.

Iulian Onofrei
  • 9,188
  • 10
  • 67
  • 113
polan
  • 286
  • 3
  • 2
0

In the current Qt Creator 3.0.0 I found it after switching to the Debugger pane under WindowViewsDebugger Log. Pictures.

The results display in the machine readable format, which is a bit messy to look at, but still fine since I use this only infrequently.

<53p vsink
>&"p vsink\n"
>~"$3 = {pCppObject_ = 0x0}"
>~"\n"
>53^done
DungeonLords
  • 107
  • 7
user7610
  • 25,267
  • 15
  • 124
  • 150