Output for CLion IDE sometimes cuts off when executing a program

前端 未结 1 1787
清歌不尽
清歌不尽 2020-12-07 01:48

When using CLion I have found the output sometimes cuts off.

For example when running the code:

main.cpp

#include 

        
相关标签:
1条回答
  • 2020-12-07 01:56

    The consensus is that this is an IDE issue. Therefore, I have reported the bug.

    A suitable workaround is to execute the code in debug mode (no breakpoint required).

    I will update this question, as soon as this bug is fixed.

    Update 1

    WARNING: You should not change information in registry unless you have been asked specifically by JetBrains. Registry is not in the main menu for a reason! Use the following solution at your own risk!!!

    JetBrains have contacted me and provided a suitable solution:

    1. Go to the Find Action Dialog box (CTRL+SHIFT+A)
    2. Search for "Registry..."
    3. Untick run.processes.with.pty

    Should then work fine!

    Update 2

    The bug has been added here: https://youtrack.jetbrains.com/issue/CPP-6254

    Feel free to upvote it!

    0 讨论(0)
提交回复
热议问题