.NET4 有 dbgview 吗?

发布于 2024-09-27 04:32:10 字数 221 浏览 0 评论 0原文

Windows 版 DebugView 是一个很棒的工具,但不适用于 .NET4 应用程序。

有谁知道任何其他 3pty 工具可以用来代替 dbgview?

Windows MSDN 的 DebugView 链接

DebugView for Windows is an awesome tool which doesn't work for .NET4 apps.

Does anyone knows any other 3pty tool which can be used instead of dbgview?

DebugView for Windows MSDN link

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

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

发布评论

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

评论(1

小霸王臭丫头 2024-10-04 04:32:10

如果 .NET4 应用程序写入“正确”的位置,它就可以正常工作。

特别是,它需要通过:windows OutputDebugString 或 DbgPrint 函数进行漏斗。执行写入的过程并不重要。使用 DefaultTraceListener 应该没问题;确保它确实被添加到听众中。

我在 VS2010 中还遇到了一个问题/错误,其中 VS2010 内的调试输出将阻止输出正确发送到 OutputDebugString(我不太清楚为什么,但禁用它效果很好)并且 VS2010 也喜欢喷出随机内部调试废话。 (如果代码不是在VS2010调试iirc下运行就不会出现这个问题,但是我的记性不太好。)

It works fine if the .NET4 app writes to the "correct" location.

In particular, it needs to funnel through: the windows OutputDebugString or DbgPrint functions. The process that performs the write is not important. Using DefaultTraceListener should be fine; make sure it really is added to the listeners.

There is also an issue/bug I ran into in VS2010 in which the debug output inside VS2010 will prevent the output from being sent to OutputDebugString correctly (I'm not exactly sure why, but disabling it worked fine) and VS2010 also likes to spew random internally debugging nonsense. (This issue does not occur if the code is not run under VS2010 debugging iirc, but my memory isn't that good.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文