We have a problem debugging legacy code that uses MFC
classes, especially CString in a mixed mode assembly.
There is no tooltip support diplaying the contents of a
MFC string. Tooltips work for STL strings only.
It is possible to add a Description for legacy classes like
CRect into the mcee_mc.dat file to assist the debugger but
this mechanism works for non template classes only.
Is there any way to display the contents of a CString
class in a tooltip window while debugging a managed module.
Thanks in advance
Harald Wilbertz
Jian-Shen Lin[MS] - 09 Oct 2003 10:48 GMT
Hi Harald ,
What is your VS.NET version?
This is known issue. CDebugObject::GetCorElementTypeFromField() was not
handling classes correctly.
It will fix in the new VS.NET version.
Thanks
Jian Shen
This posting is provided "AS IS" with no warranties, and confers no rights.