vs2010输出调试信息

具体方法:
1.菜单栏:
工具->选项->调试->勾选"将所有输出窗口文本重定向到即时窗口"
2.使用Console.WriteLine或Write添加调试信息
3.调出输出窗口
调试->窗口->选择输出

原问题

I am new to C#. I am trying to write a message to output window for debugging purposes. I searched for a function like java's system.out.println("")
. Tried Debug.Write
, Console.Write
,Trace.Write
. It does not give an error but not print anything too.
"Define DEBUG constant" and "Define TRACE constant" options are checked.
Tools > Options > Debugging > "Redirect all Output Window text to the Immediate Window" option is not checked.
Configuration: Active (Debug)
Note: I created project with wizard as "Windows Forms Application" if relevant. I have no idea where to look.
==================================================================
`

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容