Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Debugging with Qt Creator on OSX
Forum Updated to NodeBB v4.3 + New Features

Debugging with Qt Creator on OSX

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 993 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.
  • K Offline
    K Offline
    KeithS
    wrote on last edited by
    #1

    Has anyone managed to get debugging with debug helpers working when using Qt Creator (2.8.0) under OS X (10.8)?

    I have followed the suggestion in http://stackoverflow.com/questions/4720591/how-do-i-make-qt-creators-debugger-show-the-contents-of-c-vectors-in-os-x and installed FSF gdb version 7.6 as ggdb, and created a certificate for it. I've set the debugger in the Preferences->Build & Run->Kits to /opt/local/bin/ggdb, and also
    set in the build options to run dsymutil on my target debug executable.

    From the cmd line I can run 'ggdb myapp' successfully and set breakpoints, look at the callstack etc.

    However, if I set a breakpoint in my code and run the debugger from Qt Creator, it will break on it, and I can display the contents of QString etc. But it only lists the current function in the callstack, all other function calls are just shown as '??'. Also, I can single step on from that function but not step into functions (even of the same class as the one I set my breakpoint).

    Anyone give me any clues as to how to get the debugger going under OSX? Else I am going to have to defect to using Xcode...

    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