How to redirect stdout to console view in debugging on windows?
Answered
I use Clion 2016.3 on windows 7.
I write a simple console program. I print something to stdout.
In RUN mode, it runs in background and redirect stdout to console view.
But stdout doesn't redirect to console view when I debug it. It fork a foreground cmd window. What is difference between run and debug model? How to redirect stdout to console view in debugging?
Please sign in to leave a comment.
It is currently like this due to technical restrictions on Windows, we'll fix it in the future but I can't give you any exact estimations. Please follow the corresponding issue https://youtrack.jetbrains.com/issue/CPP-8175