如何捕获已运行的 Web 应用程序的 Intellitrace 事件日志?

发布于 2024-10-02 18:50:39 字数 227 浏览 0 评论 0原文

我正在使用一个使用许多 dll 的 Web 应用程序。通过将 aspnet_ws 进程附加到 Visual Studio 来进行调试。我想探索 VS 2010 的 intellitrace 功能并捕获事件日志。但是,当我尝试将进程附加到 VS 2010 时,我在 intellitrace 窗口中收到一条消息,指出此功能无法用于已运行的进程。如果是这样,有什么解决方法可以实现这一目标吗?如果有人有替代品,请告诉我。

谢谢。

I'm using a web application which uses a many dlls. The debugging happens by attaching the aspnet_ws process to Visual Studio. I want to explore the intellitrace feature of VS 2010 and capture the event log. But when i try to attach the process to VS 2010 i'm getting a message in the intellitrace window that this feature could not be used for an already running process. If so is there any work around to achieve this? Please let me know if anyone has an alternate.

Thanks.

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

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

发布评论

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

评论(2

子栖 2024-10-09 18:50:39

IntelliTrace for Visual Studio 2010 不支持附加到进程并收集数据。

IntelliTrace for Visual Studio 2010 does not support attaching to a process and collecting data.

他夏了夏天 2024-10-09 18:50:39

IntelliTrace 必须自行启动有问题的进程。您可以使用 Visual Studio 内部托管的 Web 服务器进行本地调试。我不确定,但如果您在 Visual Studio 中通过 URL 加载 Web 项目并开始调试,您也许可以在 IIS 中进行历史调试。

IntelliTrace has to launch the process in question itself. You can use Visual Studio's internally hosted web server to debug locally. I'm not certain, but you may be able to do historical debugging in IIS if you load a web project via URL in Visual Studio and start debugging.

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