Results 1 to 4 of 4

Thread: QT Creator running debug too slow

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default QT Creator running debug too slow

    Hello!

    Some time ago I updated my Qt installation to Qt 5.2.1 (and AFAIK MinGW to its lastest version as well). Since then, it seems that debug is happening at least 5 times slower then usual for the same machine (using Windows), while I don't remember of any change in my debugging settings that could have led to this.

    Is somebody familiar with this situation and could provide some tips on how to speed up running of gdb in Qt Creator/return to my previous debugging speed? And why could have that happened in the first place? :/


    Thanks,

    Momergil
    May the Lord be with you. Always.

  2. #2
    Join Date
    Oct 2012
    Posts
    132
    Thanks
    10
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: QT Creator running debug too slow

    Is somebody familiar with this situation
    Actually I have the same problem. Debugging on Windows using MinGW is slower compared to debugging with GCC on Linux. On Linux there is no noticable performance loss whereas on Windows especially launching the application takes slightly but noticeable more time (both operating systems/compiler are running on the same machine).

    and could provide some tips on how to speed up running of gdb in Qt Creator
    Unfortunately I haven't solved the problem. The only tip I can provide is the usage of Linux/GCC instead of Windows/MinGW.

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

    Momergil (23rd June 2014)

  4. #3
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QT Creator running debug too slow

    Quote Originally Posted by Infinity View Post
    Debugging on Windows using MinGW is slower compared to debugging with GCC on Linux.
    Yeah, but my problem is actually that debugging BECAME slower after my changes in my project and updating Qt and all this using Windows. I haven't yet tested how is debugging in another application (my fault), but I'm already considering moving to Linux =/ Taking more then 1 minute to show the first widget is not what I have in mind for "acceptable behavior"!!
    May the Lord be with you. Always.

  5. #4
    Join Date
    Oct 2012
    Posts
    132
    Thanks
    10
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: QT Creator running debug too slow

    Taking more then 1 minute to show the first widget
    With "slightly but noticeable" I was takling about a few seconds at the most.

    and updating Qt
    Maybe it is a good idea to remove Qt, all compilers/debugger and related configuration from your system and reinstall everything again.

    after my changes in my project
    Which changes do you suspect?

Similar Threads

  1. Replies: 2
    Last Post: 7th April 2014, 18:34
  2. QWT plot is running very slow
    By desperado_43 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 25th July 2012, 13:47
  3. Segfault when running debug in Win7 x64 (gdb-MinGW)
    By BitMaster in forum Installation and Deployment
    Replies: 5
    Last Post: 6th February 2012, 18:33
  4. Replies: 2
    Last Post: 11th December 2009, 08:53
  5. Running text & slow drawText
    By KL-7 in forum Qt Programming
    Replies: 2
    Last Post: 11th August 2009, 12:24

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.