How to redirect stdout to console view in debugging on windows?
已回答
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?
请先登录再写评论。
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