为什么我无法使用 IntelliTrace for VS 2010 检查局部变量?

发布于 2024-08-25 07:08:51 字数 101 浏览 4 评论 0原文

在使用 IntelliTrace 进行调试期间导航到以前的调用/事件时,我看不到本地定义变量的值的快照。当鼠标悬停时,我收到消息“Intellitrace 数据尚未收集”。有谁知道为什么?

When navigating to previous calls/events during debugging with IntelliTrace, I can't see a snapshot of the value of locally-defined variables. When hovering with the mouse I get the message "Intellitrace data has not been collected". Does anyone know why?

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

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

发布评论

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

评论(2

花想c 2024-09-01 07:08:51

Intellitrace 团队在他们的一篇博客文章中对此进行了一些介绍。这是链接(位于评论部分)

不过,简短的版本是收集所有局部变量对性能影响太大。相反,他们只选择性地捕获当地人。也就是说,它们将收集

  • 在调试会话期间在调试器中评估的
  • 本地变量,具有针对它们定义的跟踪点的值
  • ,专门配置为捕获的本地变量(除了设置一个跟踪点)。

The Intellitrace team covered this a bit in one of their blog entries. Here is the link (it's in the comment section)

The short version though is that collecting all local variables was too much of a performance hit. Instead they only selectively capture locals. That is they will collect locals which

  • Are evaluated in the debugger during the debugging session
  • Values which have trace points defined against them
  • Local variables which are specifically configured to be captured (didn't go into detail on how to do that other than setting up a trace point).
囍孤女 2024-09-01 07:08:51

请注意,同一博主后来发表的一篇博客文章 - http://blogs.msdn.com/ianhu/archive/2010/03/16/intellitrace-what-we-collect.aspx - 详细阐述了限制以及如何绕过它们。

Note that a later blog post from the same blogger - http://blogs.msdn.com/ianhu/archive/2010/03/16/intellitrace-what-we-collect.aspx - expanded quite on the limitations and how you can get around them somewhat.

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