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 Creator 2.8 with MinGW4.8 can't debug??
Qt 6.11 is out! See what's new in the release blog

Qt Creator 2.8 with MinGW4.8 can't debug??

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 2.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.
  • I Offline
    I Offline
    Ivan1120
    wrote on last edited by
    #1

    Why I tried to debug my code and set breakpoint, the Qt Creator always show

    "This does not seem to be a "Debug" build.
    Setting breakpoints by file name and line number may fail."

    I checked my setting in the project is Debug and Debugger in my Kit is ..\mingw48_32\bin\gdb.exe
    What's wrong with this!? Does anybody know. Thanks in advance.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      At least older versions of Qt creator did show but continued to compile and run release versions.
      Did you try to rerun qmake and rebuild on the project ?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Ivan1120
        wrote on last edited by
        #3

        Yes, I tried. It still can't work.

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qxoz
          wrote on last edited by
          #4

          Make sure that you select the right type of build.
          !http://s7.postimg.org/f7i2hfokr/Untitled.png(build conf)!
          Мassege:
          "This does not seem to be a “Debug” build.
          Setting breakpoints by file name and line number may fail."
          is displayed only if you try debug in release mode.

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

            Hi,

            Are you sure you are building with a debug version of Qt ?

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

            1 Reply Last reply
            0
            • I Offline
              I Offline
              Ivan1120
              wrote on last edited by
              #6

              Yes, I am very sure.Actually, I have two versions of Qt Creator, because when I downloaded "Qt 5.1.0 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) (Info)" from download page, then I installed, I found Qt Creator is 2.7.2. Everything can work well on it. Next, I downloaded Qt Creator 2.8, I found I can't debug anything, I have tried to find what happened about it, but unfortunately I couldn't successful. I checked "Debugger Log" and I found something is different between two version of Qt Creator, but I still couldn't solve this problem.

              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