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. QtCreator, Debugger does not attached to the application
QtWS25 Last Chance

QtCreator, Debugger does not attached to the application

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qtcreatordebuggermsvc2015
7 Posts 4 Posters 2.0k 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.
  • J.HilkJ Offline
    J.HilkJ Offline
    J.Hilk
    Moderators
    wrote on last edited by J.Hilk
    #1

    Hi everyone, I've run into an issue with QtCreator and I'm looking for directions to look into, to fix it.

    The latest update broke the debugger support for my version QtCreator. It doesn't matter if I try to debug a project of mine or a simple main (Hello World) application.

    QtC: 4.8.1
    Qt-Version: 5.12.1
    Compiler: MSVC2015 64bit
    Debugger: CDB (From Windows/10/Debuggers/x64/cdb.exe)

    Currently as a workaround, I have VisualStudio open and attach the debugger there to the running process. That works, but is really cumbersome and suboptimal.

    I don't know what happened, but the only thing I can think of is a complete reinstall of everything. QtC VS - (maybe update to 2017) but that's a step I would like to do as a last resort.

    Greetings


    Edit: I should mention, that when I use mingw and gdb, it does indeed still work in QtCreator, but I'm not allowed to use mingw for most of my projects.


    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


    Q: What's that?
    A: It's blue light.
    Q: What does it do?
    A: It turns blue.

    mrjjM aha_1980A 2 Replies Last reply
    0
    • J.HilkJ J.Hilk

      Hi everyone, I've run into an issue with QtCreator and I'm looking for directions to look into, to fix it.

      The latest update broke the debugger support for my version QtCreator. It doesn't matter if I try to debug a project of mine or a simple main (Hello World) application.

      QtC: 4.8.1
      Qt-Version: 5.12.1
      Compiler: MSVC2015 64bit
      Debugger: CDB (From Windows/10/Debuggers/x64/cdb.exe)

      Currently as a workaround, I have VisualStudio open and attach the debugger there to the running process. That works, but is really cumbersome and suboptimal.

      I don't know what happened, but the only thing I can think of is a complete reinstall of everything. QtC VS - (maybe update to 2017) but that's a step I would like to do as a last resort.

      Greetings


      Edit: I should mention, that when I use mingw and gdb, it does indeed still work in QtCreator, but I'm not allowed to use mingw for most of my projects.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @J.Hilk
      Hi
      Have you tried running a repair on the VS installation?
      (via the installer)

      Its worth a shot. (IMHO)

      1 Reply Last reply
      1
      • J.HilkJ J.Hilk

        Hi everyone, I've run into an issue with QtCreator and I'm looking for directions to look into, to fix it.

        The latest update broke the debugger support for my version QtCreator. It doesn't matter if I try to debug a project of mine or a simple main (Hello World) application.

        QtC: 4.8.1
        Qt-Version: 5.12.1
        Compiler: MSVC2015 64bit
        Debugger: CDB (From Windows/10/Debuggers/x64/cdb.exe)

        Currently as a workaround, I have VisualStudio open and attach the debugger there to the running process. That works, but is really cumbersome and suboptimal.

        I don't know what happened, but the only thing I can think of is a complete reinstall of everything. QtC VS - (maybe update to 2017) but that's a step I would like to do as a last resort.

        Greetings


        Edit: I should mention, that when I use mingw and gdb, it does indeed still work in QtCreator, but I'm not allowed to use mingw for most of my projects.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @J.Hilk First have a look at the Debugger Log (Windows > Views > Debugger Log) first. Most often this gives a hint for the root problem.

        Qt has to stay free or it will die.

        J.HilkJ 1 Reply Last reply
        3
        • aha_1980A aha_1980

          @J.Hilk First have a look at the Debugger Log (Windows > Views > Debugger Log) first. Most often this gives a hint for the root problem.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @aha_1980
          I tried, and now it's working. I didn't change anything....

          Threaded classes, custom (Qt-based dlls) I can step into everything.

          I blame gremlins.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          5
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #5

            alt text

            blame me !! ;)

            1 Reply Last reply
            4
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @mrjj that's not a gremlin, he's a mogwai ;-)

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              mrjjM 1 Reply Last reply
              2
              • SGaistS SGaist

                @mrjj that's not a gremlin, he's a mogwai ;-)

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @SGaist
                Indeed he is
                   but if you feed him bugs
                after midnight then he goes like

                alt text

                but then you find the actual reason
                   for all your problems and then you
                feel like

                alt text

                :)

                1 Reply Last reply
                4

                • Login

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