Unsolved Breakpoint inside QT sdk linking libraries
-
Is there a way of placing a breakpoint inside any of the QT libraries like libQt5Networking ?
I see that, in qt-creator, for all QT libraries, the "Show Source Files for Module" is grayed out.
-
Hi
You can try this
https://forum.qt.io/topic/70001/solved-stepping-into-qt-library-code-whilst-debuggingNote that is visual studio compiler.
-
@mrjj Seems similar to what I already tried and didn't worked. I should mention that I'm using:
Qt Creator 4.4.1
Based on Qt 5.9.2 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit). -
@Catalin.O
So its gcc that you use for the app, i assume.Note, that Creator has nothing to do with the compiler you use for app building or
Qt version. It just lists what Creator was made with. :)Anyway, af as far i know on linux, you must build your own Qt debug version.
Hopefully others can give more detailed description.
-
@mrjj You are saying that I should have the QT libraries, built with debugging symbols inside ?
-
Hi
Yes. Only way i could get it to work.
https://stackoverflow.com/questions/5049578/stepping-into-qt-sources-in-qt-creator-in-ubuntu-linuxOn windows, one can download som pdb for visual studio files
but on linux, no such option as far as i know.