Results 1 to 6 of 6

Thread: The application requires the debugger engine 'Cdb' problems

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default The application requires the debugger engine 'Cdb' problems

    I have Qt 4.6.2 using the vs2008 command line and am able to compile an run applications built in Qt 1.3.83 using win32-msvc2008 for mkspec. However I am unable to debug. I downloaded and installed "Debugging Tools for Windows (x86)" and set the Cdb path to "C:\Program Files\Debugging Tools for Windows (x86)" in the debugger menu in QtCreator. When I try to debug it states that Cdb is not enabled. When I go back to the debugger options menu I see the following error:
    Unable to load the debugger engine library 'C:\Program Files\Debugging Tools for Windows (x86)\dbghelp.dll': Cannot load library C:\Program Files\Debugging Tools for Windows (x86)\dbghelp.dll:
    I double checked and dbghelp.dll does exist at that location. Does anybody have any ideas?

    Thanks in advance

    sg

  2. #2
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: The application requires the debugger engine 'Cdb' problems

    I have this exact same problem and would appreciate any insights from anyone.

    I am running Windows 7 64bit. Are you running x64 as well?

    I am running QT 4.6.3 (compiled using vs2008) and Creator 2.0.0

  3. #3
    Join Date
    Oct 2007
    Location
    Warminster, England
    Posts
    31
    Thanks
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: The application requires the debugger engine 'Cdb' problems

    Same here as well, running windows XP SP2. I have the windows debugger installed, and the Cdb envoronment variable defined. the helper has a reen tick against it, but no visualisation of any variables in the debugger window.
    I have reinstalled Qt and the Cbd several times, to no effect.
    For information, after buiding the helper, the log file contains;
    Building debugging helper library in D:/Carlton/Qt/SDK2010.02/qt/qtc-debugging-helper/

    Running D:/Carlton/Qt/SDK2010.02/mingw/bin/mingw32-make.exe distclean...
    D:/Carlton/Qt/SDK2010.02/mingw/bin/mingw32-make -f Makefile.Debug distclean
    mingw32-make[1]: Entering directory `D:/Carlton/Qt/SDK2010.02/qt/qtc-debugging-helper'
    del tmp\obj\debug_shared\gdbmacros.o
    del debug\libgdbmacros.a
    del debug\gdbmacros.dll
    del Makefile.Debug
    mingw32-make[1]: Leaving directory `D:/Carlton/Qt/SDK2010.02/qt/qtc-debugging-helper'
    D:/Carlton/Qt/SDK2010.02/mingw/bin/mingw32-make -f Makefile.Release distclean
    mingw32-make[1]: Entering directory `D:/Carlton/Qt/SDK2010.02/qt/qtc-debugging-helper'
    del tmp\obj\release_shared\gdbmacros.o
    del release\libgdbmacros.a
    del release\gdbmacros.dll
    del Makefile.Release
    mingw32-make[1]: Leaving directory `D:/Carlton/Qt/SDK2010.02/qt/qtc-debugging-helper'
    del Makefile

    Running d:/carlton/qt/sdk2010.02/qt/bin/qmake.exe ...

    Running D:/Carlton/Qt/SDK2010.02/mingw/bin/mingw32-make.exe ...
    D:/Carlton/Qt/SDK2010.02/mingw/bin/mingw32-make -f Makefile.Debug all
    mingw32-make[1]: Entering directory `D:/Carlton/Qt/SDK2010.02/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:\Carlton\Qt\SDK2010.02\qt\lib" -L"d:\Carlton\Qt\SDK2010.02\qt\lib" -lQtGuid4 -lQtCored4
    Creating library file: debug\libgdbmacros.a
    mingw32-make[1]: Leaving directory `D:/Carlton/Qt/SDK2010.02/qt/qtc-debugging-helper'
    D:/Carlton/Qt/SDK2010.02/mingw/bin/mingw32-make -f Makefile.Release all
    mingw32-make[1]: Entering directory `D:/Carlton/Qt/SDK2010.02/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: In function 'void<unnamed>::qDumpQAbstractItem(<unnamed>::QDum per&)':
    gdbmacros.cpp:1078: warning: dereferencing pointer 'mm' does break strict-aliasing rules
    gdbmacros.cpp:1078: warning: dereferencing pointer 'mm' does break strict-aliasing rules
    gdbmacros.cpp:1077: warning: dereferencing pointer 'mm' does break strict-aliasing rules
    gdbmacros.cpp:1077: warning: dereferencing pointer 'mm' does break strict-aliasing rules
    gdbmacros.cpp:1076: note: initialized from here
    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:\Carlton\Qt\SDK2010.02\qt\lib" -L"d:\Carlton\Qt\SDK2010.02\qt\lib" -lQtGui4 -lQtCore4
    Creating library file: release\libgdbmacros.a
    mingw32-make[1]: Leaving directory `D:/Carlton/Qt/SDK2010.02/qt/qtc-debugging-helper'

  4. #4
    Join Date
    Apr 2010
    Location
    Porto Alegre, RS, Brazil
    Posts
    37
    Thanks
    9
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: The application requires the debugger engine 'Cdb' problems

    I'm also having this problem. I'm using Windows 7 professional 32bits, QT 4.6.2 commercial.
    Is this a known issue?

  5. #5
    Join Date
    Jan 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows Maemo/MeeGo

    Default Re: The application requires the debugger engine 'Cdb' problems

    Did anyone solve this problem cause I'm still experiencing it.
    Thanks.

  6. #6
    Join Date
    Mar 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: The application requires the debugger engine 'Cdb' problems

    hii I have also installed qt 4.6.2 commercial version on WIndows 7 64 bit.
    but I dont have no problem of Cdb debugger .
    but when i execute my correct program the following error comes----------
    ===============
    Starting C:\Users\jogin11singh\Documents\DijkshtraAlgo\debu g\DijkshtraAlgo.exe...
    C:\Users\jogin11singh\Documents\DijkshtraAlgo\debu g\DijkshtraAlgo.exe exited with code 0
    =============
    Starting: C:/Qt/2010.02.1/mingw/bin/mingw32-make.exe -w
    Configuration unchanged, skipping QMake step.

    mingw32-make: Entering directory `C:/Users/jogin11singh/Documents/DijkshtraAlgo'
    C:/Qt/2010.02.1/mingw/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory `C:/Users/jogin11singh/Documents/DijkshtraAlgo'
    mingw32-make[1]: Nothing to be done for `first'.
    mingw32-make[1]: Leaving directory `C:/Users/jogin11singh/Documents/DijkshtraAlgo'
    mingw32-make: Leaving directory `C:/Users/jogin11singh/Documents/DijkshtraAlgo'
    Exited with code 0.
    ======================


    my output is not displayed i know these are not errors according to me
    But when i run same program in DEV C++ .it works fine


    please solve my problem why it is exiting with code 0

Similar Threads

  1. problems to deploy qt application
    By radeberger in forum Installation and Deployment
    Replies: 8
    Last Post: 31st May 2010, 12:52
  2. qt-4.5.0 requires glibc>=2.3.2?
    By mailtome in forum Installation and Deployment
    Replies: 1
    Last Post: 9th April 2009, 05:33
  3. Replies: 1
    Last Post: 11th September 2008, 21:45
  4. problems on running an example application
    By hungr in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st August 2007, 14:12
  5. problems with deploying a Qt application
    By nongentesimus in forum Installation and Deployment
    Replies: 2
    Last Post: 7th June 2006, 14:45

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.