标签: .net debugging nlog debugview
我的程序是一个c#windows窗体应用程序。我在VS之外运行exe。 Nlog调试器目标消息不会在DebugView中显示,但直接Debug.WriteLine消息会显示。 当从VS内部运行应用程序时,两者都显示在VS输出控制台上 任何的想法?谢谢。
答案 0 :(得分:4)
Debugger-Target写入System.Diagnostics.Debugger.Log - Posts a message for the attached debugger.
OutputDebugString-Target写入OutputDebugString可以由DebugView(和朋友)监控