Results 1 to 4 of 4

Thread: Debugger failure

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

    Unhappy Debugger failure

    I have run a previous version of Qt Creator (1.3.1 I think) on my system, Windows XP SP2. This ran well, with all the features working correctly.
    I updated my Linux system to Qt Creator 2.0.1, again all was well.
    I Installed Qt Creator 2.0.1 on my XP system from the install file "qt-sdk-win-opensource-2010.02.1.exe", but now the debugger is not working correctly. It will stop at break pionts, and I can step through the code, sometimes. But if left for more than 20seconds it 'times out'. Also it will not display the Qt variable values correctly in the locals and watchers window. I have installed cdb as advised elsewhere, but with no effect. Is there some other subtle change at Version 2 I have missed. Software versions;
    Qt 4.7.0
    Qt Creator 2.01 Aug 24th 2010 from revision 97d831e3de
    qmake 2.01a
    gcc 4.4.0
    gdb 6.8
    cdb 6.12.0002.633
    Is anyone else having these problems, or is just my PC?

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

    Default Re: Debugger failure

    Qt Creator 2.0.1 does not work with gdb 6.8 on Window/MinGW. There's a python enabled gdb 7.0.1 (or even 7.1?) packed in the SDK. Point your debugger settings in Tools->Options->Debugger there.

    cdb is only used and useful if you use Qt Creator with a Qt compiled with the Microsoft Compiler. The SDK contains a Qt compiled with MinGW.

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

    Carlton (29th October 2010)

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

    Default Re: Debugger failure

    Thanks,
    I have reset the debugger to the one in the pythongdb directory, and increased the timeout time
    from 20s to 120s. gdb was timing out before it could display the information on the screen.
    Whilst it runs now, it does run very slowly, and hogs the cpu when it is running.
    Do I need to install python to get the performace back up to that of the previous version of gdb?
    Since this installation eas installed directly from the windows install .exe, it wlud be nice if the debugger option was set up correctly from the start, it wolud have saved a lot of wasted time.

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

    Default Re: Debugger failure

    Try to grab a fresh gdb 7.2 build from MinGW. They seem to have one nowadays.

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

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.