Visual Studio 插件在调试会话期间读取对象值是否困难?
我花了很多时间调试 CAD/CAM 应用程序的代码。很多时候,我在监视窗口中查看具有一长串数据点的变量。有时进行抽查以确保数据点确实有意义是相当困难的。
我很想创建一个 Visual Studio 插件,在调试会话期间,我可以在代码中或在监视窗口中突出显示包含点列表的变量。然后我可以右键单击上下文菜单(或其他菜单)并选择我的全新“绘图点”插件。
我没有任何创建 Visual Studio Addins 的经验,并且从我所做的少量研究来看,还不清楚这是否可能。
有人有与我的想法相关的建议、示例或想法吗?
I spend a lot of time debugging code for a CAD/CAM application. There are many times when I look at a variable in a watch window that has a long list of data points. Sometimes it's quite difficult to do a spot check making sure the data points actually make sense.
I'd love to create a visual studio addin in which during a debug session I can highlight a variable in code, or perhaps in a watch window, that contains a list of points. Then I could right click into a context menu (or some other menu) and select my brand new "Plot Points" Addin.
I don't have any experience creating Visual Studio Addins, and from the little research I've done, it isn't clear if this is even possible.
Does anyone have a suggestion, example, or idea related to my idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是可能的,而且实现起来并不难。您所描述的内容属于VS 调试可视化工具的领域。
另外,这主要是这个问题的重复。
Yes, it's possible, and not too difficult to pull off. What you're describing falls into the realm of a VS Debug Visualizers.
Also, this is mostly a duplicate of this question.