Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.1 Creator 2.8.1 and MSVC 2012 Debug is really slow
Forum Updated to NodeBB v4.3 + New Features

Qt 5.1 Creator 2.8.1 and MSVC 2012 Debug is really slow

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jh224
    wrote on last edited by
    #1

    I'm running Qt 5.1, Creator 2.8.1 and MSVC 2012....debug is really really slow. A simple hello world type application takes over 10 minutes to run debug and it does not stop at the breakpoint. It stops in main.cpp at QApplication a(argc, argv), when the breakpoint is in mainWindow.cpp. Any suggestions?

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      It's a bit hard to tell what's wrong. What debugger are you using?

      Some things you could try:

      • Temporarily disabling your antivirus
      • Upgrading to Qt 5.2.1 and Qt Creator 3

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jh224
        wrote on last edited by
        #3

        JKSH thanks for the response. I can't turn off anti-virus. I fixed it where it will now stop on my breakpoint. From QTCREATORBUG-9986 -- it says the work around is to go in options and turn off and un-check everything that say GDB. However, It still runs slow. Will Qt 5.2.1 and Creator 3 help with the speed?

        Does the Windows SDK contain debugging symbols? If not, could the absence of the symbols explain the slowness?

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          [quote author="jh224" date="1399305185"]I fixed it where it will now stop on my breakpoint. From QTCREATORBUG-9986 -- it says the work around is to go in options and turn off and un-check everything that say GDB.[/quote]Great! I'm glad you found the solution to one issue.

          [quote author="jh224" date="1399305185"]Will Qt 5.2.1 and Creator 3 help with the speed?[/quote]I don't know, unfortunately. My main suspect is the antivirus, not Qt/Qt Creator.

          [quote]Does the Windows SDK contain debugging symbols?[/quote]Yes, but it's not installed by default. To install debugging symbols, you need to select "Debugging Tools for Windows" when you install the Windows SDK.

          [quote]If not, could the absence of the symbols explain the slowness?[/quote]I don't think so, but I'm not 100% sure.

          I think debugging symbols shouldn't affect debugger speed, only debugger text -- if you have symbols, you will see filenames. If you don't, you will see pointer values.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved