July 6, 2011

Luca Luca
Ant Farmer
624 posts

Linux QtSDK && Debugging helper problem [Solved]

 

Hi all,
I’m using the last SDK in Linux and it works fine but I can’t use the Debugger Helper.

For example if I run the application in debug mode and put a break point after a QString initialization I can’t see the QString content as string in the right of QtCreator.

I didn’t have this problem with previous SDK.

I already enabled Debugger Helper.

Should I enable something else?

10 replies

November 23, 2011

Luca Luca
Ant Farmer
624 posts

The same problem with Qt SDK 1.1.4 …

November 23, 2011

Luca Luca
Ant Farmer
624 posts

Is someone using debug helper with Qt SDK 1.1.4 on Linux system?

November 23, 2011

Luca Luca
Ant Farmer
624 posts

Now I tried on Windows and debugger helper works fine…

November 23, 2011

Luca Luca
Ant Farmer
624 posts

I just reported a bug [bugreports.qt.nokia.com] .

December 14, 2011

Luca Luca
Ant Farmer
624 posts

Here again.
Now I installed the new QtCreator 2.4.0 and when I run in debug mode it tell me:

“The debugger could not load the debugging helper library
The debugging helper library was not found at /home/luca/QtSDK/Desktop/Qt/474/gcc//qtc-debugging-helper/, /home/luca/QtSDK/QtCreator/qtc-debugging-helper/188003839/, /home/luca/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/188003839/.”

How can I install debugger helper?

December 14, 2011

Volker Volker
Ant Farmer
5428 posts

install it as always:
Go to settings / Build and Execution / Qt Versions
Select your Qt version and hit the respective build button

The only thing that changed is the toplevel menu entry.

December 14, 2011

Luca Luca
Ant Farmer
624 posts

I have the “Build” button disabled near “GDB Helper” .

Look what they answered [bugreports.qt.nokia.com] me .

December 15, 2011

Luca Luca
Ant Farmer
624 posts

Hjk told me to fetch a pre-build gdb from ftp://ftp.qt.nokia.com/misc/gdb/7.2/ [ftp.qt.nokia.com] .
Now I downloaded it but how can I use it? How can I tell QtCreator to use it?

December 15, 2011

Luca Luca
Ant Farmer
624 posts

Ok, don’t hear to me. I solved this way:

I downloaded gdb from ftp://ftp.qt.nokia.com/misc/gdb/7.2/qtcreator-gdb-7.2-i686.tar.gz [ftp.qt.nokia.com] .
I extracted it in /home/luca/gdb .

Then in
QtCreator -> tools -> options -> Build & Run -> Tool Chains
I cloned the auto-detected tool-chain and added in the “Debugger” section:
“/home/luca/qtcreator-gdb-7.2-i686/gdb”

Now I have a working Debugger Helper….!!!

March 23, 2014

Charlie_Hdz Charlie_Hdz
Lab Rat
20 posts

The links dont work

 
  ‹‹ QSortFilterProxyModel - additional column does not alternate row color      How to use QProcess to open Safari on Mac ››

You must log in to post a reply. Not a member yet? Register here!