Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugging with Qt Creator and Cdb on Windows
QtWS25 Last Chance

Debugging with Qt Creator and Cdb on Windows

Scheduled Pinned Locked Moved Qt Creator and other tools
14 Posts 5 Posters 12.8k Views
  • 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.
  • F Offline
    F Offline
    Felix
    wrote on last edited by
    #1

    Hi,

    I'm using Qt - Creator 2.0 on Windows7 64Bit with the Studio 2010 Compiler. As Creator told me, i installed the latest debugging helpers from Microsoft. But the following problem also occured on my old computer with Creator 2.0 and Studio 2005.

    Now when i'm debugging, it works quite fine, until I have a ByteArray or a large string in my current context. Qt-Creator freezes then, and 1 single step like @bool a = true;@ takes about almost 30 seconds.

    Do other users have same Problems? Am I doing something wrong? can i get it faster?

    Thanks

    Felix

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Daniel S.
      wrote on last edited by
      #2

      I'm facing the same performance issues when debugging with Qt Creator & CDB on Windows.

      Any help?

      Thanks,

      Daniel

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Felix
        wrote on last edited by
        #3

        problem is still existing. No one has an idea?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Duck
          wrote on last edited by
          #4

          Switching off the "Debugger Helpers" should make it much faster, but also less useful. This only affects cdb and does not occur with MinGW/gdb.

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Felix
            wrote on last edited by
            #5

            indeed i want to use them 8(

            1 Reply Last reply
            0
            • F Offline
              F Offline
              Friedemann.Kleint
              wrote on last edited by
              #6

              Loading the Debugger helpers should be faster in Qt Creator 2.0.1
              A possible problem could be that there were watch expressions left behind in the session settings.
              Qt Creator pre-2.0 used to have watch expressions for CDB, but they were really slow and useful only for scalar expressions. They were disabled in 2.0. You could try to start a new session to get rid off all remains.

              1 Reply Last reply
              0
              • F Offline
                F Offline
                Felix
                wrote on last edited by
                #7

                thanks for your reply, i will check it out.

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  Felix
                  wrote on last edited by
                  #8

                  on a first look with the daily creator snap shot from yesterday, it is much faster now, but u cant look into local variable as good as before. But thats perhabs only a wrong setting i will make further investigations during the weekend.

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Davita
                    wrote on last edited by
                    #9

                    Damn it, debugging with QtCreator + CDB is so awful that I even don't bother hitting F5. In best case, I should wait 30+ seconds just to start the app, sometime even several minutes. I can't add a variable in a watch list because QtCreator freezes for a very very long time. I can't even switch to VS because VS Addin is a crap and discontinued. So, I just wanted to say that, us, windows developers doesn't have a debugger :(

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Daniel S.
                      wrote on last edited by
                      #10

                      I agree with Davita.
                      For me the problem is still existing. Any Help?

                      Thanks, Daniel

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        Friedemann.Kleint
                        wrote on last edited by
                        #11

                        I would recommend creating a Jira -task including the debugger log (Window/Views/Debugger Log) and ideally a small code example.

                        Generally, we recommend using a recent 64bit version of CDB on 64bit systems and configuring the symbol server.

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          Davita
                          wrote on last edited by
                          #12

                          Thanks Friedemann, but what if we want to use x86 toolchain with Windows x64?
                          I create an issue in Jira, following your recommendations.

                          Thanks

                          1 Reply Last reply
                          0
                          • F Offline
                            F Offline
                            Friedemann.Kleint
                            wrote on last edited by
                            #13

                            The 64bit debugger should also be able to debug 32bit applications. This is just a recommendation though - we noticed that the 32bit debugger tends to more cause issues under 64bit Windows.

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              Davita
                              wrote on last edited by
                              #14

                              You are right. I just noticed that QtCreator uses x64 CDB for x86 qt build even when x86 debugging tools are present. So the problem is still present, even for x64 CDB.

                              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