[Qt-creator] Remote debugging
Francis Rammeloo
francis.rammeloo at gmail.com
Thu Aug 19 12:10:24 CEST 2010
I am trying to figure out how to use the remote debugger in QtCreator
2.0.0. Everything works (connecting to the remote gdbserver, setting
breakpoints, inspecting variables, ...) except for one thing: if I set a
breakpoint (using the GUI), it will hit, but then the editor jumps to
assembly view instead of the source file. In this assembly view I can step,
and inspect the local variables. If I open the source file where the current
stack frame is then even tooltips work fine. I just can't figure out how to
tell QtCreator/GDB how to associate the source file with the current frame.
The QtCreator project was created using the "Import existing project"
option, since it is a makefile project. Perhaps this breaks the integration?
GCC build options are '-O0' and '-g'.
Perhaps I should mention that the actual executable is built on a remote
build server that has an older version of gcc (4.1.2). The server that runs
the application has gdb v6.8 and gdbserver v6.8.
Does anyone have an idea what's going wrong?
Francis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100819/d19bde00/attachment.html
More information about the Qt-creator-old
mailing list