Reputation: 1232
In visual studio 2010, the debugger is still displaying structure information of older structures, even though there are new types and names, or if all members were replaced, name of structure changed, etc... I've tried deleting the project pdb, but it regenerates itself after rebuilding and the old structure information is still there at runtime. It's making it impossible to debug linked list trees.
Is there any way to completely reset the internal debugger information and force it to recognize the new structure layout?
Upvotes: 4
Views: 410
Reputation: 4647
Go to Debug->Windows->Modules
Spot your module and check the location it is being picked from
Check where the pdb for this module is being loaded from
Delete these pdbs and dlls
Clear Symbol Cache from Debug->Options->Debugging->Symbols
Now recompile and retry
Upvotes: 2
Reputation: 13588
Just found the solution: deleting the .pdb for the projects and all sub-projects fixed the problem for me
Upvotes: 1