[Qt-creator] Antwort: Re: Qt Creator 2.0.1 doesn't show local variables when debugging

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Thu Mar 10 17:34:10 CET 2011


On Thu, Mar 10, 2011 at 09:02:22AM +0100, Markus Franke wrote:
> qt-creator-bounces+franke.m=sebakmt.com at qt.nokia.com schrieb am 09.03.2011 
> 17:24:53:
> 
> > I'd need to see the debugger log (Debugger->Views->Debugger). Perhaps
> > an too old version of gdb. I'd suggest to upgrade to Creator 2.1 and
> > gdb 7.2 anyway.
> 
> The debugger log says the following: (sorry for spamming this list)
> 
> ---snip---
> [...]
> dEnableReverseDebugging: true  (default: false)

That's the main problem.

> [...]
> <369target record
> >&"warning: Unable to find dynamic linker breakpoint function.\nGDB will 
> be unable to debug shared library initializers\nand track explicitly 
> loaded dynamic code."

Switch off "Reverse debugging". The feature is broken in gdb, even now
with 7.2. gdb 6.8 was even worse.

> Same happens with Qt Creator 2.1.0. I am on a Fedora 10 system using gdb 
> 6.8.

gdb 6.8 is not supported with 2.1.0. Install gdb 7.2 or compile from source,
or get a precompiled one from ftp://ftp.qt.nokia.com/misc/gdb/7.2/

Andre'



More information about the Qt-creator-old mailing list