right, you set your watch like filename.m_pData->m_WDebugString You can also make a functions in your plugin that returns what you want to see as a "const char *" and add a call to that function in your watch window. It'll print the value there. You can call c++ methods and functions in many windows in the VC++ debugger. Unfortunately, we can't call CString's GetAsciiString and other methods because they've been optimized out, so one needs to make a function that calls it for us, that we then can call from the debugger when we need it
On 23 November 2015 at 09:26, Marc-Andre Belzile <marc-andre.belz...@autodesk.com> wrote: > You should be able to see the content of these CString data members from the > debugger > > wchar_t* m_pWDebugStr; > char* m_pDebugStr; > > -mab > > From: softimage-boun...@listproc.autodesk.com > [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Andruha > Prostrelov > Sent: Monday, November 23, 2015 8:16 AM > To: softimage@listproc.autodesk.com > Subject: Re: VS2012 Debugg CString CValue > > The friend of mine provide me with this variant: > #include <string> > std::string my_debug_string( src_edges.GetAsText().GetAsciiString()); > > During debugg session you monitor my_debug_string var