Having the output of a console application in Visual Studio instead of the console

前端 未结 12 835
醉话见心
醉话见心 2020-11-29 00:06

When doing a console application in Java with Eclipse, I see the output being put in a text box in the IDE itself, instead of having a console popping up like in Visual Stud

12条回答
  •  臣服心动
    2020-11-29 00:24

    It's time to check the latest release/s for Visual Studio, folks. The most suggested solution that did not work for some of you before might work now.

    In Visual Studio 2017 (Release Version 15.4.2 and above), going to Tools > Options > Debugging > General > (Check Box) Redirect all Output Window text to Immediate Window has worked for me.

    Few Notes: 1. To see the Immediate Window, make sure that you are in Debugging mode. 2. There should now be 3 other debugging tools available at your disposal, namely, Call Stack, Breakpoints, and Command Window, as shown below:

    Best wishes!

提交回复
热议问题