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. VS2017 with Qt VS Tools breakpoints not working
Forum Updated to NodeBB v4.3 + New Features

VS2017 with Qt VS Tools breakpoints not working

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 1.9k 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.
  • TriNityGERT Offline
    TriNityGERT Offline
    TriNityGER
    wrote on last edited by TriNityGER
    #1

    Hey guys,

    got the following problem: I cannot hit breakpoints in VS2017 + Qt VS Tools.
    Everytime I go into debug mode, all my breakpoints are greyed out with the following message:
    0_1509319120370_2017-10-30 00_17_12-VEngine (Running) - Microsoft Visual Studio.png

    Also debug output says: "'VEngine.exe' (Win32): Loaded 'A:\Projekte\Qt Workspace\Projects\VEngine\release\VEngine.exe'. Module was built without symbols."

    Anyone got an idea how I can fix that?

    K 1 Reply Last reply
    0
    • TriNityGERT TriNityGER

      Hey guys,

      got the following problem: I cannot hit breakpoints in VS2017 + Qt VS Tools.
      Everytime I go into debug mode, all my breakpoints are greyed out with the following message:
      0_1509319120370_2017-10-30 00_17_12-VEngine (Running) - Microsoft Visual Studio.png

      Also debug output says: "'VEngine.exe' (Win32): Loaded 'A:\Projekte\Qt Workspace\Projects\VEngine\release\VEngine.exe'. Module was built without symbols."

      Anyone got an idea how I can fix that?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @TriNityGER

      It looks like you are trying to debug a release build, which is coming without debug symbols. You are loading an exe from release folder, but for debug you should have debug as name for the folder.

      Rerun qmake and rebuild should solve the problem. Certainly you need to switch your build to debug as well.

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

      1 Reply Last reply
      2
      • TriNityGERT Offline
        TriNityGERT Offline
        TriNityGER
        wrote on last edited by
        #3

        Wow... learning years of programming and than this embarrasing mistake. Does Qt VS Tools set this to release mode by default??
        I can't remember setting it to release. Anyways, thanks for the obvious solution :D

        K 1 Reply Last reply
        0
        • TriNityGERT TriNityGER

          Wow... learning years of programming and than this embarrasing mistake. Does Qt VS Tools set this to release mode by default??
          I can't remember setting it to release. Anyways, thanks for the obvious solution :D

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @TriNityGER

          Good to see that your problem has been solved.

          Sh.. happens ;)

          With Qt creator and definitely MinGW debug mode is the default mode. I would expect similar for Visual Studio with Qt VS tools, but I do not know.

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

          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