Tutorial :how to view CString object value in debug in VC6 environment



Question:

In VC 6 environment what is the settings to be done to view the value of the CString in debug mode. Even in watch window ??? appears for CString variables!


Solution:1

Do you have proper Debug symbols? . pdb may be outdated


Solution:2

try using the GetBuffer method in the watch window.

cStringVariable.GetBuffer()  


Solution:3

Try using XDebug plugin for VC6. Look here


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »