Results 1 to 2 of 2

Thread: QTCreator 2.3.0 debugger detects wrong ABI

  1. #1
    Join Date
    Jul 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question QTCreator 2.3.0 debugger detects wrong ABI

    Hi all.
    I installed new version od the QtSdk and moved one of projects from qt 4.7.0 to current 4.7.4 revision, I'm using windows XP.

    Program builds and run fine, but I cannot debug it anymore.

    Looking at the debugger log file, I see that if I build one of the examples in the SDK, I get the following log lines:

    <start of log file>
    ATTEMPT SYNC
    sStarting debugger 'GdbEngine' for ABI 'x86-windows-msys-pe-32bit'...
    dStart parameters: 'digitalclock' mode: 1
    dABI: x86-windows-msys-pe-32bit
    dExecutable: C:\Qt\QtSdk\Examples\4.7\widgets\digitalclock-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\debug\digitalclock.exe
    dDirectory: C:\Qt\QtSdk\Examples\4.7\widgets\digitalclock-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug
    dDebugger: C:\Qt\QtSdk\pythongdb\python_2.7based\gdb-i686-pc-mingw32.exe
    dProject: C:\Qt\QtSdk\Examples\4.7\widgets\digitalclock (built: C:\Qt\QtSdk\Examples\4.7\widgets\digitalclock-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug)
    dQt: C:\Qt\QtSdk\Desktop\Qt\4.7.4\mingw
    dQML server: 127.0.0.1:0
    ....
    <end of log file>

    And the debugger works as expected.

    If I start the debugger on my own project I get:

    <start of log>
    ATTEMPT SYNC
    sStarting debugger 'CdbEngine' for ABI 'x86-windows-msvc2008-pe-32bit'...
    dStart parameters: 'Ziview in ZS2I3' mode: 1
    dABI: x86-windows-msvc2008-pe-32bit
    dExecutable: C:\zs2i3\ziView.exe
    dDirectory: C:\ZS2I3
    dDebugger: C:\Qt\QtSdk\pythongdb\python_2.7based\gdb-i686-pc-mingw32.exe
    dProject: C:\Qt\ZiView (built: C:\Qt\ziview-build-desktop)
    dQt: C:\Qt\QtSdk\Desktop\Qt\4.7.4\mingw
    dQML server: 127.0.0.1:0
    d
    ....
    <end of log>

    And the debugger stops immediately.
    I see that the debugger starts cdb (which is not installed) instead of gdb.

    Of course the toolchain settings in the project is the same for both projects, while my own uses some more dlls.

    I'd like to know how to fix this behaviour.

    Thanks in advance for any hint on the subject.

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

    Default Re: QTCreator 2.3.0 debugger detects wrong ABI

    Should be fixed in 2.4 beta.

Similar Threads

  1. QtCreator 2.0 crashes application working in QtCreator 1.3
    By been_1990 in forum Qt Programming
    Replies: 2
    Last Post: 21st September 2010, 12:58
  2. QTCreator is using wrong version of nmake
    By mrknight in forum Installation and Deployment
    Replies: 1
    Last Post: 21st May 2010, 03:19
  3. QT IDE and Debugger
    By onefootswill in forum Newbie
    Replies: 16
    Last Post: 25th July 2008, 20:39
  4. Need Qt IDE with Debugger
    By rajeshs in forum General Discussion
    Replies: 3
    Last Post: 10th October 2007, 12:21
  5. How Qt/Embedded detects the keypad input from device?
    By mahe2310 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 4th April 2006, 07:08

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.