I'm trying to debug a large project using Qt, but I have problems debugging.
It's the same as in this question, but the answers there didn't help and I'm using VS2010 so I can't install the fix mentioned there.
I reproduced the problem with VS2008 (as well as the solution, see below).
I just learned: The "mouseover" feature is called DataTips.
A fulltext search found some
.pdb files (mostly vc100.pdb), partially in directories of other projects linking to the same lib, which contained old symbol names.
I deleted all found
.idb) files, recompiled and now it shows correct behavior again.
Whoever experiences the same problem should try this solution.
//Yet I have no answers as to //- where exactly the debugger searches for its information and //- in which way the pdb files are (re)created and interconnected and //- how the problem came to be in the first place.
I was able to recreate the problem. And I think I know what happened:
I'm including several libs that are based on a common base lib. Changes in the base lib only get reflected in the other included libs if I rebuild them. If I don't rebuild these libs after some minor change in the base lib (in my case: adding a member to a class), the appropriate
vc100.pdb file remains unchanged. Because an include path is set to that library's directory, its vc100.pdb file seems to be used by the VS debugger.
The solution is to delete these vc100.pdb files or to rebuild all libraries.
The file names change from version to version. VS2012 uses
vc110.pdb and so on. I now delete all *.pdb files in the code directory + subdirectories.