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
Starting your program. Use the run command to start your program under GDB. You must first specify the program name (except on VxWorks) with an argument to GDB (see section Getting In and Out of GDB), or by using the file or exec-file command (see section Commands to specify files).
Use the run command to start your program under gdb. You must first specify the program name (except on VxWorks) with an argument to gdb (see Getting In and Out of gdb), or by using the file or exec-file command (see Commands to Specify Files).
Gdb is a debugger for C (and C++). It allows you to do things like run the program up to a certain point then stop and print out the values of certain variables at that point, or step through the program one line at a time and print out the values of each variable after executing each line.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With