I am trying to debug a value that is System::String
. As I am using Visual Studio, I would normally use OutputDebugString
or its variants to see the strings, but System::String
aren't natively compatible with OuputDebugString
.
How do I convert a System::String
to a value that OuputDebugString
can print? Or an alternative tool for viewing System::string values?
In case it matters, this is specifically a System::String^
variable.