Results 1 to 20 of 34

Thread: Debugger helper

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Debugger helper

    Quote Originally Posted by manekineko View Post
    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...
    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? "

  2. #2
    Join Date
    Jun 2010
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Debugger helper

    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&#1.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.

Similar Threads

  1. QT IDE and Debugger
    By onefootswill in forum Newbie
    Replies: 16
    Last Post: 25th July 2008, 20:39
  2. Need Qt IDE with Debugger
    By rajeshs in forum General Discussion
    Replies: 3
    Last Post: 10th October 2007, 12:21
  3. On windows: MinGW + Qt + Which Debugger?
    By Dwarf007 in forum Newbie
    Replies: 8
    Last Post: 12th July 2006, 19:21
  4. Usage of the Debugger!!
    By Kapil in forum Qt Programming
    Replies: 9
    Last Post: 20th April 2006, 04:48

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.