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
Forum Updated to NodeBB v4.3 + New Features

Debugging with Qt Creator and Cdb on Windows

Scheduled Pinned Locked Moved Qt Creator and other tools
14 Posts 5 Posters 13.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.
  • 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