miwarre (1st August 2009)
I also have this problem on openSUSE 11.1, KDE 4.2.2 (110), Qt 4.1.1, QtCreator 1.2.1 - i.e. I can't see contents of QStrings, etc. (forced to use qDebug() << ....).
Does anyone have the magic bullet for linux/openSUSE/KDE?
The message "Debugging helpers not found" (along with the inability to use helpers) persists even though "Rebuild" seems to be a success and the libraries (and links) seem to be in the right place; log output is :
Building debugging helper library in /home/jdcook/qtcreator-1.2.1/bin/../qtc-debugging-helper/224418/
Running /usr/bin/make clean...
rm -f gdbmacros.o
rm -f *~ core *.core
Running /usr/bin/qmake ...
Running /usr/bin/make ...
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUSE_QT_GUI=0 -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include -I. -I. -o gdbmacros.o gdbmacros.cpp
rm -f libgdbmacros.so.1.0.0 libgdbmacros.so libgdbmacros.so.1 libgdbmacros.so.1.0
g++ -shared -Wl,-soname,libgdbmacros.so.1 -o libgdbmacros.so.1.0.0 gdbmacros.o -L/usr/lib -lQtCore -L/usr/lib -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
ln -s libgdbmacros.so.1.0.0 libgdbmacros.so
ln -s libgdbmacros.so.1.0.0 libgdbmacros.so.1
ln -s libgdbmacros.so.1.0.0 libgdbmacros.so.1.0
I think this was have something to do with administrator privilages on the computer.
I am having the same problem (debugger helper does not work despite green checkmark).
I tried rebuilding it as well, and my log file shows the same thing
This exact problem from the original post seems to still exist in latest version of QT Creator (1.3.1). Unable to rebuild the debugging helper, and get what look to be the same errors.
Followed these steps up until the last one, which no longer seems to be present in QTCreator, and it still complains about no debugger helper being present and will not show me the values of variables. Really terribly frustrating that it isn't even straight forward to do basic things like debug a QT application...
Last edited by wysota; 12th March 2010 at 08:30.
Thinking that something can't be done because I'm unable to do it is a very egocentric approach. Please don't do that.
You are using MSVC as your compiler, right?
First of all, debugging works independently of the existence of the Debugging Helpers. They "only" provide a means to get a more direct display of types like QString, QHash, std::map etc. Without them you still have access to all your data.
Second, http://qt.gitorious.org/qt-creator/p...AskedQuestions does contain an answer to the question "The debugger does not work. What kind of information is helpful? "
Hi everyone!
I read this topic and many other, but still can't understand how fix this trouble "debugging helpers not found".
I have latest version of SDK Qt(4.6.2) and Qt Creator(2.0 beta -newer than SDK) to date:
qt ver..jpg
Firstly I see to this, seems that's all right:
qt options..jpg
Secondly:
qt debugger help.jpg
Elseone rebuilt qtc-debugger-helper:
Building debugging helper library in d:/Qt/2010.02.1/qt/qtc-debugging-helper/
Running d:/qt/2010.02.1/qt/bin/qmake.exe ...
Running D:/Qt/2010.02.1/mingw/bin/mingw32-make.exe ...
D:/Qt/2010.02.1/mingw/bin/mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `d:/Qt/2010.02.1/qt/qtc-debugging-helper'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSE_QT_GUI=1 -DHAS_QOBJECT_P_H -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../include/QtCore' -I'../include/QtGui' -I'../include' -I'../include/ActiveQt' -I'tmp/moc/debug_shared' -I'../mkspecs/win32-g++' -o tmp/obj/debug_shared/gdbmacros.o gdbmacros.cpp
gdbmacros.cpp: In member function '<unnamed>::QDumper&<unnamed>::QDumper:ut(long long unsigned int)':
gdbmacros.cpp:580: warning: unknown conversion type character 'l' in format
gdbmacros.cpp:580: warning: too many arguments for format
gdbmacros.cpp: In member function '<unnamed>::QDumper&<unnamed>::QDumper:ut(long long int)':
gdbmacros.cpp:587: warning: unknown conversion type character 'l' in format
gdbmacros.cpp:587: warning: too many arguments for format
gdbmacros.cpp: At global scope:
gdbmacros.cpp:276: warning: 'bool<unnamed>::couldBePointer(const void*)' defined but not used
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -shared -mthreads -Wl -Wl,--out-implib,debug/libgdbmacros.a -o debug/gdbmacros.dll tmp/obj/debug_shared/gdbmacros.o -L'd:/Qt/2010.02.1/qt/lib' -L'd:/Qt/2010.02.1/qt/lib' -lQtGuid4 -lQtCored4
Creating library file: debug/libgdbmacros.a
mingw32-make[1]: Leaving directory `d:/Qt/2010.02.1/qt/qtc-debugging-helper'
D:/Qt/2010.02.1/mingw/bin/mingw32-make -f Makefile.Release all
mingw32-make[1]: Entering directory `d:/Qt/2010.02.1/qt/qtc-debugging-helper'
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSE_QT_GUI=1 -DHAS_QOBJECT_P_H -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../include/QtCore' -I'../include/QtGui' -I'../include' -I'../include/ActiveQt' -I'tmp/moc/release_shared' -I'../mkspecs/win32-g++' -o tmp/obj/release_shared/gdbmacros.o gdbmacros.cpp
gdbmacros.cpp: In member function '<unnamed>::QDumper&<unnamed>::QDumper:ut(long long unsigned int)':
gdbmacros.cpp:580: warning: unknown conversion type character 'l' in format
gdbmacros.cpp:580: warning: too many arguments for format
gdbmacros.cpp: In member function '<unnamed>::QDumper&<unnamed>::QDumper:ut(long long int)':
gdbmacros.cpp:587: warning: unknown conversion type character 'l' in format
gdbmacros.cpp:587: warning: too many arguments for format
gdbmacros.cpp: At global scope:
gdbmacros.cpp:276: warning: 'bool<unnamed>::couldBePointer(const void*)' defined but not used
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -shared -mthreads -Wl -Wl,--out-implib,release/libgdbmacros.a -o release/gdbmacros.dll tmp/obj/release_shared/gdbmacros.o -L'd:/Qt/2010.02.1/qt/lib' -L'd:/Qt/2010.02.1/qt/lib' -lQtGui4 -lQtCore4
Creating library file: release/libgdbmacros.a
mingw32-make[1]: Leaving directory `d:/Qt/2010.02.1/qt/qtc-debugging-helper'
But still have same message, and still can't see Qt types values in watch:
qt debugger..jpg
Last edited by Nickolay; 8th June 2010 at 13:45.
Bookmarks