Debug/Trace output in MonoDevelop
问题 Where can I see System.Diagnostics.Debug and System.Diagnostics.Trace output in MonoDevelop? I would think it should appear in the ApplicationOutput window, but it's nowhere to be found. 回答1: The Application Output window will show the results of Console.WriteLine. If you want something that works with Visual Studio on Windows as well as on Mono, then add a static method like the following to your Program.cs file: public static void WriteLine(String fmt, params Object[] args) { string op; if