调试/跟踪无法写入 VSIX 项目中的输出窗口

发布于 2024-10-09 09:19:01 字数 243 浏览 0 评论 0原文

是否有任何原因(可能是已知错误或缺少 SDK)导致调试和跟踪在以下环境中停止工作:

我最近格式化了我的工作站。在我已经使用了一个月的解决方案中全新安装了 VS2010 Ultimate。它包含一个 exe 和一个 vsix 作为其输出。调试和跟踪在 exe 中工作,但在调试 vsix 时,不会将任何内容写入输出窗口。我已经安装了 VS SDK。我已使用导入/导出设置来重置环境。我已禁用所有扩展(从扩展管理器)。我还尝试删除解决方案中的 .suo 文件。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

智商已欠费 2024-10-16 09:19:01
  1. 您是否安装了 Resharper?
  2. 当您中断调试器并将 System.Diagnostics.Debug.Listeners(或 Trace 的相同)放入“监视”窗口时,您会看到什么?
  3. 执行 System.Diagnostics.Debug.Listeners.Add(new DefaultTraceListener()) 有帮助吗?
  4. 添加新的 TextWriterTraceListener 是否有效?
  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?
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文