I am writing this demo program to explain my question. He does nothing useful:
#include <string>
int main(void)
{
std::string strMsg = "This is a very very long message, long enough that Visual Studio can't output it entirely. If you don't believe, just try it yourself and you'll see. What? I'm not long enough? Now it will be enough. You'll see ellipses at the end.";
return 0;
}
Then add a breakpoint in return 0;with the action to print strMsgin the output window.

The printed line looks like this:
strMsg = "This is a very long message, long enough that Visual Studio cannot output it completely. If you don’t believe it, just try it yourself and you will see. What? I won’t be long enough? Now that’s enough ...
Pay attention to ...the end of the printed message. This is because the line is too long to print completely. A.
Is there a way to solve this problem so Visual Studio can print a whole line?