Accessing gdb console in Qt-Creator

后端 未结 2 334
南旧
南旧 2021-01-07 18:07

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

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-07 18:31

    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.

提交回复
热议问题