Wait for user input while debugging on IntelliJ IDEA and Gradle

前端 未结 2 608
小蘑菇
小蘑菇 2021-01-01 02:52

I have the simplest Java application that just works if executed from command line. But if I want to debug it through IntelliJ IDEA 14 Ultimate, the System.in.read()

相关标签:
2条回答
  • 2021-01-01 02:57

    It's working fine on my windows 7 machine with IntelliJ IDEA 14 community edition.

    0 讨论(0)
  • 2021-01-01 03:08

    It is has been a known bug in Intellij Idea: bug description

    EDIT: Apparently, as pointed out in the comments, it has been fixed since this answer was given and patched Intellij will be released in Summer 2017.

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