How to repair Visual Studio locals/watches in C++ (Debug build)

Viewed 3104

Sometimes VS autos/locals/watches break and instead of variables/values all I have is different kinds of:

CXX0029: Error: not struct pointer  
CXX0033: Error: error in OMF type information   
CXX0072: Error: type information missing or unknown 
CXX0025: Error: operator needs class/struct/union   

Rebuilding project, cleaning PDB/NCB etc doesn't solve it. What can I do?

4 Answers

It helped me to switch from using a program database (/ZI) to "c7 compatible" (/Z7). Switching off precompiled headers did not make a difference. Neither did rebuilding.

Related