Visual Studio 2010 Debugger - structures debugging information still storing old member names and types, rather than updating

In visual studio 2010, the debugger still displays information about the structure of old structures, even if there are new types and names, or if all members have been replaced, the structure name has been changed, etc. I tried to remove project pdb, but it is restored after recovery, and information about the old structure is still present at runtime. This makes it impossible to debug related list trees.

Is there a way to completely reset to get the internal information of the debugger and make it recognize the new structure structure?

+4
source share
2 answers

Go to "Debugging-> Windows-> Modules"

Find your module and check the location that it is selected from

Check where pdb for this module is loading from

Remove these pdbs and dll

Clear symbol cache from debugging-> Options-> Debugging-> Symbols

Now recompile and try again

+2
source

Just found a solution: removing .pdb for projects and all subprojects fixed the problem for me

+1
source

All Articles