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 Creator 3.3.2 + clang + lldb on OS X Yosemite - breakpoints don't work when using "-save-temps"

Qt Creator 3.3.2 + clang + lldb on OS X Yosemite - breakpoints don't work when using "-save-temps"

Scheduled Pinned Locked Moved Qt Creator and other tools
clangmacqt creatorlldb
3 Posts 2 Posters 1.6k 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.
  • M Offline
    M Offline
    Mamegohan
    wrote on 2 Apr 2015, 13:27 last edited by Mamegohan 4 Mar 2015, 05:05
    #1

    I've been trying to find out why breakpoints don't work for me for a few hours now. It seems that when my .pro file contains QMAKE_CXXFLAGS += -save-temps, the breakpoints no longer work. This seems a bit weird to me - but then again, I have not idea how Qt Creator lldb integration works.

    Details:

    • Qt 5.4.1 from the online installer.
    • Qt Creator 3.3.2 from the online installer. Also tested with 3.4.81 from git today, same result.
    • clang-600.0.57
    • lldb-320.4.160 at /usr/bin/lldb (same result with the lldb under the Xcode directory)

    I'd be interested to hear from someone who knows more about Qt Creator internals - is there any chance that I'm right in saying that -save-temps is the culprit - which it definitely seems to be - and if so, what would be the correct fix? Could this be a bug in Creator?

    I can provide debugger logs if needed.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mamegohan
      wrote on 5 Apr 2015, 10:39 last edited by
      #2

      This can be recreated, on my computer at least, by opening any example project in Creator, and putting QMAKE_CXXFLAGS += -save-temps in the .pro file.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 5 Apr 2015, 21:42 last edited by
        #3

        Hi and welcome to devnet,

        You should bring this topic on the Qt Creator maling list You'll find there Qt Creator's developers/maintainers (this forum is more user oriented)

        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

        1/3

        2 Apr 2015, 13:27

        • Login

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