On Thursday 19 August 2010 12:10:24 ext Francis Rammeloo wrote: > 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?
The problem is that gdb either cannot access the sources of your project or is not properly instructed where to search for it. I'd need to have a look at the debugger log (right pane of Windows ->Views->Debugger) to make a more educated guess. Andre' PS: Does the "Sources" view look ok? _______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator