调试时如何让 Visual Studio 显示内联对象值 [英] How do I make Visual Studio show objects value inline when debugging

查看:42
本文介绍了调试时如何让 Visual Studio 显示内联对象值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试时,我希望在您逐步执行每行代码时看到内联显示的对象值.我在我的一些同事 VS 中看到过这个功能,但我找不到任何打开它的选项.

When debugging, I would like to see objects value shown inline as you stepping through each line of code. I've seen this feature in some of my colleagues VS but I could not find any option to turn it on.

推荐答案

Visual Studio 本身无法做到这一点.

Visual Studio cannot do that by itself.

您最有可能看到的是 新的 Resharper 功能.如果你的同事有这个,你的公司很有可能也会为你提供.不要犹豫,向您的经理索要执照,这是一个很好的工具,可以提高您的工作效率.

What you have most likely witnessed is the new Resharper feature. If your colleagues have this, there is a good chance your company will provide it for you, too. Don't hesitate to ask your manager for a licence, it's a great tool and will make you more productive.

(免责声明:我与该公司没有任何关联.我只是认为他们的产品很棒.)

这篇关于调试时如何让 Visual Studio 显示内联对象值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆