用于调试集合的网格视图?

发布于 2024-10-09 21:55:54 字数 314 浏览 0 评论 0原文

我正在处理相当大的通用集合,并且我需要一种快速的方法来在调试时查看这些集合中的所有项目及其属性。

当我说查看所有项目时,我的意思是我想查看集合,就好像它必然会说......网格视图一样。这样我就可以看到列出的所有项目属性。

目前,VS2010 在调试期间显示集合对象,但需要单击几次才能查看集合中任何项目的属性。 当我使用包含 50 到 100 个项目的集合时,我很难感受到集合数据,因为在调试期间必须单击以查看每个单独项目的属性。

您是否有任何想法或知道可以帮助以表格格式或网格视图格式显示集合的 Visual Studio 插件?

谢谢你的时间

I'm working with fairly large generic collections and I need a quick way to view all the items and their properties in these collections while debugging.

When I say view all the items, I mean I would like to view the collection as if it was bound to say.. a gridview. That way I could see all the item properties listed.

Currently VS2010 displays the collection object during debugging, but it takes several clicks before I can view any item's properties within the collection.
As I'm using collection with 50 to 100 items in them, I've having a hard time getting a feel for the collection data because of having to click through to view each individual item's properties during debugging.

Do you have any ideas or know of a visual studio plugin that can help display collections in a table format or gridview format?

Thanks for you time

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

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

发布评论

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

评论(2

还如梦归 2024-10-16 21:55:54

我在 codeproject 上找到了这个用于列表和字典的调试器可视化工具。它包含源代码,因此如果还不够,您应该能够根据需要进行修改。

I found this debugger visualizer for lists and dictionaries on codeproject. It includes the source code, so you should be able to modify for your needs if not enough.

祁梦 2024-10-16 21:55:54

有一篇很棒的 MSDN 文章,其中包含有关如何修改方式的不同示例其中数据显示在 Visual Studio 调试器中。

具体来说,我认为您可能想更深入地了解 可视化工具 ;请注意左侧和底部的操作方法

There is a great MSDN article with varying examples on how to modify the way in which the data is displayed within the Visual Studio debugger.

Specifically I think you might want to take a more in depth look at Visualizers; note the HOW TO's on the left hand side and bottom.

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