buddy
buddy

Reputation: 815

how to view CString object value in debug in VC6 environment

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!

Upvotes: 2

Views: 1027

Answers (3)

Humanier
Humanier

Reputation: 274

Try using XDebug plugin for VC6. Look here

Upvotes: 0

EvilTeach
EvilTeach

Reputation: 28837

try using the GetBuffer method in the watch window.

cStringVariable.GetBuffer()

Upvotes: 0

Canopus
Canopus

Reputation: 7457

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

Upvotes: 1

Related Questions