开发者

Debug/Trace failing to write to Output windows in VSIX project

Is there any reason, maybe a known bug or missing SDK that would cause debug and trace to stop working in the following environment:

I recently formated my workstation. Fresh install of VS2010 Ultimate in a solution I've been working with for a month. It contains an exe and a vsix as it's outputs. debug and trace work in the exe but when debugging the vsix nothing is written to the output window. I have the VS SDK installed. I've used Import/Export settings to reset the environment. 开发者_如何学运维I've disabled all extensions (from the extension manager). I also tried deleting the .suo files in the solution.


  1. Do you have Resharper installed by any chance?
  2. When you break in the debugger and put System.Diagnostics.Debug.Listeners (or same for Trace) in the Watch window, what do you see?
  3. Does doing System.Diagnostics.Debug.Listeners.Add(new DefaultTraceListener()) help?
  4. Does adding a new TextWriterTraceListener work?
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜