[Qt-creator] Cannot use qtc-debugging-helper.

Kuiper, Luuk kuiper at hitt.nl
Thu May 7 13:36:55 CEST 2009


Andre,

I have rebuild QtCreator after removeing the (void *) casts.
The messages concerning that in the gdb output are gone.
The problem is still the same. No qt debug helpers.

Still getting the message in the dbg toolbar: Debugging helpers not found.
Can you examine in what case this message is displayed there?
I have switched off Options -> Debugger -> Debugging Helper -> 'Debug debugging helper'.


Again a new gdb input and output file attached.

One thing I see is the next in the gdb output:

            13:20:34.212
stdout:&"call (void*)__dlopen(\"/see/6.0.0/x86_64-linux/products/qt/4.4.3/qtc-debugging-helper/libgdbmacros.so.1.0.0\", 2)\n"
            13:20:34.262
stdout:&"No symbol \"__dlopen\" in current context.\n"
status:Custom dumper setup: No symbol "__dlopen" in current context.
            13:20:34.264
stdout:22^error,msg="No symbol \"__dlopen\" in current context."
            13:20:34.264

Is that a problem?

Other major point is the time before the application realy starts to run:

stdout:29^done
            13:20:34.702
stdout:(gdb) 
status:Running requested...
            13:23:06.824
stdout:30^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000c0374e",func="tdl::StrMappedElement::addMapping(RWCString const&, QString const&)",file="src/tdn/field/preselem.cxx",fullname="/HITT/HMI/users/luuk/build/main/aramis_mk2/displaylibs/src/tdn/field/preselem.cxx",line="1053",times="0",original-location="\"/BUILDS/swp/luuk/build/main/aramis_mk2/displaylibs/src/tdn/field/preselem.cxx\":1053"}
input:--- token barrier ---
input:31-exec-continue
            13:23:06.826
stdout:(gdb) 
status:Running...

That is almost 3 minutes.

Luuk


-----Original Message-----
From: qt-creator-bounces at trolltech.com [mailto:qt-creator-bounces at trolltech.com] On Behalf Of André Pönitz
Sent: 06 May 2009 14:38
To: qt-creator at trolltech.com
Subject: Re: [Qt-creator] Cannot use qtc-debugging-helper.

On Wednesday 06 May 2009 13:08:32 ext Kuiper, Luuk wrote:
> /see/6.0.0/x86_64-linux/products/qt/4.4.3/qtc-debugging-helper/libgdbm
> ac
> ros.so.1.0.0
> 
> But in principle this is the same as when I do not enter anything 
> because default it should use this one, isn't it,

Right.

> I added also a new no_q_dump_helper_gdb_output.txt.

The problem here is your gdb's reaction to

  145call (void*)qDumpObjectData440(1,145+1,0,0,0,0,0,0)

It's the first time I see 

  stdout:&"Invalid cast.\n"
  stdout:145^error,msg="Invalid cast."
  
as response. 

Unfortunately, the only way to experiment with this is to compile Creator form source and replace the three occurences of

  "(void*)qDumpObjectData440"

in plugins/debugger/gdbengine.cpp

by plain

  "qDumpObjectData440"

The void* cast was a workaround for a problem that we don't have anymore, so if removing it improves the situation for you we can simply drop it.

Andre'
_______________________________________________
Qt-creator mailing list
Qt-creator at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator




More information about the Qt-creator-old mailing list