Unable to debug Qt source in msvc since install Qt SDK
-
Hi,
What do you mean that you can't debug? I'm asking because you mentioned autoexp.dat which is responsible for pretty-printing, and it's not required for debugging. Do you want to step inside Qt or you just want to see Qt objects structure (for example QString value inside watch)?
Are you sure that you link with proper version of Qt binaries (with debug symbols and probably without optimizations)?
Do you compile your project with debug symbols and without optimizations? -
I've just installed 4.6.3 and I have pdb files inside bin directory. Have you downloaded SDK for VisualStudio? I'm not sure but mingw version doesn't have pdb files.
Other thing is that these pdbs are for true debug binaries, so I'm almost sure you need to build your project with strict debug configuration and link with *d4.dll Qt binaries (QtCored4.dll etc.). -
-
[quote author="qtnext" date="1317988986"]I need to step inside Qt source code. I have installed Qt sdk, Qt source after using maintenance tools. The strange things is that there is no pdb files in QtSDk ? Do I need to manually compile Qt to be able to debug Qt Source code ? [/quote]
Is it possible to install the sdk for msvc? If you copuld not make this choice, than this is your problem.
You need to have the Qt libs compiled for the proper version of msvc, otherwise you will have problems.