C# 窗口程序調試輸出(非中斷)

非中斷模式下的調試 首先設置一下IDE 在程序中引用 using System.Diagnostics; 調用方式: Debug.WriteLine(); Debug.WriteLineIf();//兩個參數,當第一個參數爲true時,第二個參數的調試信息會顯示出來。 Trace.WriteLine();//Release版本,當然Debug中也可以顯示 Trace.WriteLineIf();/
相關文章
相關標籤/搜索