Nominate our 2022 Qt Champions!

Breaking inside Qt's code with Xcode

  • Hi all,

    I am trying to debug some issue that is inside Qt's code on OSX. I am using XCode 7.3.1 and Qt 5.10.1. Setting breakpoint in my code works fine but if I try setting the breakpoint inside Qt's code, it never gets hit. When breaking in my code, I can use the callstack and open the appropriate Qt source file so it is just breakpoint that is not work. Wondering if anyone know if this is meant to work?

  • Lifetime Qt Champion

    The installed Qt is in release mode and hence have no debug information to be break on.
    On windows, it seems you can download debug symbols but im not sure same exists for OSX and
    hence you might need to build a debug version of Qt to step into it/break there.

    dSYM files included are included.

  • Lifetime Qt Champion


    The dSYM files are installed with the rest of the frameworks. You can find them in the lib folder of your Qt installation.

Log in to reply