Debug output opens separate console window

I'm trying out clion using Windows 7/and 8.1 64bit, using mingw w64. When I have clion generate the default new project and running in debug mode, the stdout (cout) stream goes to a separate Windows cmd / console window. Is there a way to make the output go to the console window within clion, similarly to how it does in intellij idea?

Could it be because I'm using mingww64?

1
5 comments

Joe, at the moment it is not possible to do this on Windows. There is no ETA on this, but there is a task on our tracker, you can use it to follow the progress.

0
Avatar
Permanently deleted user

Would it get any priority if I said I'd buy a license if it gets fixed :)

0
Avatar
Permanently deleted user

In a related issue, as soon as the program terminates, the external debug console is automatically closed and I lose the standard error and output messages.  Short of adding a breakpoint on the final return statement, is there a way to prevent the external console from closing after a run?  Or to copy the standard error/output to the built-in console?

0
Avatar
Permanently deleted user

Any updates on that issue?

0

This is no longer the case when using GDB 8.0 with CLion 2017.3 EAP: https://youtrack.jetbrains.com/issue/CPP-8175

0

Please sign in to leave a comment.