语言

Menu
Sites
Language
Show std::string contents in debugger

I am building my native app in C++, and use std::string instead of char* for strings.  This works fine, but when debugging the integrated debugger will not display the contents of std::string variables in the variables window.  Instead it shows {...}

At the moment I convert std::string to c_str() for debugging in selected spots in my code, but this isn't practical for stepping through all code.

Is there a way to have the integrated debugger display the contents of std::string variables?