Do you have debugging symbols from that third party library in a format understandable by your debugger?
Do you have debugging symbols from that third party library in a format understandable by your debugger?
Yes. I have PDB (Program Debug Database) file for the library. It was generated while building the library source code in VS2012. But i don't know how to make use of it to view the source code of library while debugging. My Qt creator is using default "gdb" for debugging purpose which was shipped with QTSDK.
I would like to mention one more point. I built the same library(its a plain c++ based one) in Ubuntu and able to generate libraries (.so) files in both release and debug modes. But some how i solved this problem in Linux environment by using an option in Qt creator like " Add library " -> External library.. In this approach gdb is able to locate source of the library so that i have successfully entered the source code. Unfortunately this approach is not working in Windows.( I have added lib by using same option in Qt-creator in windows).
Thank you.
Yeah. May be PDB files are only for MS debuggers only. So is there any way i can use MSVS compiler and debuggers in my QtCreator instead of default GCC and GDB?.
FYI:I have installed all native tools (windows SDK, MSVS) including debugger tools (CDB) in my windows.
Yes, you just need to download Qt libraries for MSVC. Or you can rebuild your C++ library with MinGW and use that.
Thank you. I will try these possibilities.
Bookmarks