Problem with Visual C ++ Debugging

I had a constant struggle with the Visual Studio debugger and finally got tired and looked for help. Some problems constantly cause problems. If you have any solutions, I will be grateful

  • Attempting to view a function that has constant and non-constant versions results in an ambiguous character error (CXX0039)
  • Attempting to get a function value in a template class randomly gives a member function not defined error (CXX0052)
  • Casting a template type variable casts bad types even to their own type (CXX0019)

I have 2010 Professional Visual Studio Service Pack 1 (SP1)

EDIT
In # 2, I'm sure inlining is disabled.

Thanks in advance,
Cem

0
source share
2 answers

I found out that the best option is to change autoexp.dat and show the converted variables. At the initial stage, this is a little complicated, but when you are done, it’s even better than fixing these problems.

0
source

I just experienced the same problem ...

Found the answer after some search on MSDN.

Visual Studio 2005 C ++ CXX0052: Member Function Not Present !

Basically you need to save the result in the temp variable and view this temporary variable in the Watch or Locals window. I think far from the ideal solution, but it works (on VS2010 SP1).

+1
source

All Articles