In .NET managed code there is a DebuggerDisplayAttribute
, so an object's most important values can easily be observed during a debugging session in Visual Studio 2022 without being required to drill deep into the object's properties everytime.
Is there something similar for C++ in Visual Studio 2022?
I feel it's hard to observe std::string
or std::list<std::string>
, for example, without such comfort.