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. Qt Debugger hangs when starting debugging process

Qt Debugger hangs when starting debugging process

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
8 Posts 4 Posters 2.9k 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.
  • X Offline
    X Offline
    xenovas
    wrote on 10 Jan 2019, 12:17 last edited by aha_1980 1 Oct 2019, 14:20
    #1

    Hello,

    im developing a Qt GUI app and suddenly im having problem with the debugger in Qt Creator . Concretely the Debugger freezes.... Before having problems i have enabled the cl.exe compiler in order to be able to compile my cpp client application in VS 2017 community edition. Could this probably negatively affect the performance of QtCreator Debugger ? i don't know what to do ... can you please help .. ?

    @xen0vas

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 10 Jan 2019, 12:23 last edited by
      #2

      Hi
      Creator do not have its own debugger. it uses the one from visual studio. (if installed)
      Normally one must install the debugging tools for visual studio to have something to use in
      Creator.
      What version of Creator are you using ?

      X 1 Reply Last reply 10 Jan 2019, 12:28
      0
      • M mrjj
        10 Jan 2019, 12:23

        Hi
        Creator do not have its own debugger. it uses the one from visual studio. (if installed)
        Normally one must install the debugging tools for visual studio to have something to use in
        Creator.
        What version of Creator are you using ?

        X Offline
        X Offline
        xenovas
        wrote on 10 Jan 2019, 12:28 last edited by
        #3

        @mrjj Hi , im using Qt Creator 4.8.0 . I didn't have problems with debugging until today. As i mentioned the only thing i did today is enabling the cl.exe on my Windows 10 in order to be able to compile through the command line... !

        @xen0vas

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 10 Jan 2019, 12:35 last edited by
          #4

          Hi
          Ok that is a bit odd.
          How did you "enable cl.exe" ?
          I wonder if you adding something to PATH or anything that Creator could pick up on.

          X 1 Reply Last reply 10 Jan 2019, 13:58
          1
          • M mrjj
            10 Jan 2019, 12:35

            Hi
            Ok that is a bit odd.
            How did you "enable cl.exe" ?
            I wonder if you adding something to PATH or anything that Creator could pick up on.

            X Offline
            X Offline
            xenovas
            wrote on 10 Jan 2019, 13:58 last edited by xenovas 1 Oct 2019, 14:03
            #5

            @mrjj i ran the following two batch files in order to initialize the environment - vcvars64.bat vcvars32.bat. After that i did the common process adding a new environmental variable to windows 10 in order to call cl.exe from any path.. that's it nothing else .. driving me nuts ..

            @xen0vas

            M 1 Reply Last reply 10 Jan 2019, 14:10
            0
            • X xenovas
              10 Jan 2019, 13:58

              @mrjj i ran the following two batch files in order to initialize the environment - vcvars64.bat vcvars32.bat. After that i did the common process adding a new environmental variable to windows 10 in order to call cl.exe from any path.. that's it nothing else .. driving me nuts ..

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 10 Jan 2019, 14:10 last edited by
              #6

              @xenovas
              Hi
              I would try to romove that new environmental variable.
              Reboot windows
              and check if Creator still had the issue.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                buzzelliart
                wrote on 30 Apr 2020, 14:40 last edited by
                #7

                I know it is an old topic but I think my personal experience could be useful for someone having the same issue. I had the same exact issue, and I discovered it was a Firewall problem, Qt creator was in my exclusion list. When i removed it from the exclusion list the debugger started working again. Hope this can help other people facing the same issue.

                1 Reply Last reply
                4
                • E Offline
                  E Offline
                  Eugene_Mino
                  wrote on 12 Apr 2025, 18:28 last edited by
                  #8

                  A similar problem went away when I removed all breakpoints in the DAP Breakpoint Preset.

                  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