Display a message in Visual Studio's output window when not debug mode?

后端 未结 6 1957
耶瑟儿~
耶瑟儿~ 2021-01-31 13:50

In Java, you can use System.out.println(message) to print a message to the output window.

What\'s the equivalent in Visual Studio ?

I know when I\'m

6条回答
  •  盖世英雄少女心
    2021-01-31 14:16

    The Trace messages can occur in the output window as well, even if you're not in debug mode. You just have to make sure the the TRACE compiler constant is defined.

提交回复
热议问题