Results 1 to 4 of 4

Thread: cdb as debugger

  1. #1
    Join Date
    Feb 2011
    Location
    Bangalore
    Posts
    207
    Thanks
    20
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cdb as debugger

    Hi,
    I am trying to setup cdb with qt creator v2.2 . Downloaded the Debugging Tools for Windows(x86) from web, installed it as said in document in C:/Program Files... set the symbol server as said in the document. But when debugging, it gives a warning "The preferred debugger engine for debugging binaries of type 'x86-windows-msvc2008-pe-32bit is not available" and uses gdb... What am I doing wrong..


    Added after 24 minutes:


    Well I removed and re-installed it a couple of times, and then it worked... Strange... couldn't figure out what I did wrong, or what I did right to make it working!!
    Last edited by pkj; 4th June 2011 at 20:05.

  2. #2
    Join Date
    Sep 2008
    Posts
    25
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: cdb as debugger

    You need to install Debugging tools for Windows, it can be freely downloaded from Microsoft's website:
    http://www.microsoft.com/download/en...ang=en&id=8442

    This is written in Qt Creator documentation. I have downloladed x64 iso file for my Windows 7 x64 and installed Debugging tools only. It worked
    Also look at, Qt Creator menu Tools -> Options -> Tool chain, it should automatically detect your MSVC 9 (2008) compiler and CDB, if not, you must add it manually.

  3. The following user says thank you to DIMEDROLL for this useful post:

    accfews (27th January 2012)

  4. #3
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: cdb as debugger

    For now i'm ok with GDB is there anyway to disable this warning?

  5. #4
    Join Date
    Sep 2008
    Posts
    25
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: cdb as debugger

    You need to change your project configuration to use MinGW compiler instead of MSVC, it can be done in left side pane in Qt Creator

  6. The following user says thank you to DIMEDROLL for this useful post:

    accfews (27th January 2012)

Similar Threads

  1. Debugger problems
    By leoalvesmachado in forum Newbie
    Replies: 0
    Last Post: 28th July 2010, 18:54
  2. Debugger helper
    By JohnToddSr in forum Qt Tools
    Replies: 33
    Last Post: 15th June 2010, 23:19
  3. QRegExp Debugger
    By ml81 in forum Qt-based Software
    Replies: 5
    Last Post: 27th October 2008, 13:23
  4. QT IDE and Debugger
    By onefootswill in forum Newbie
    Replies: 16
    Last Post: 25th July 2008, 20:39
  5. Need Qt IDE with Debugger
    By rajeshs in forum General Discussion
    Replies: 3
    Last Post: 10th October 2007, 12:21

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.