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.
==================================================================
`

你可能感兴趣的:(vs2010输出调试信息)