[英]Watch Window doesn't display properties of EntityFramework proxies
The watch window in Visual Studio 2019 has worked fine until yesterday (I believe my laptop may have rebooted over night due to an update pushed by sys admins). Visual Studio 2019 中的监视窗口一直工作到昨天为止(我相信我的笔记本电脑可能由于系统管理员推送的更新而在夜间重新启动)。
Now, when I set a breakpoint and try to evaluate the properties of an entity, the entity proxy doesn't display the properties (or values):现在,当我设置断点并尝试评估实体的属性时,实体代理不显示属性(或值):
VS 2019 Watch window with blank properties具有空白属性的 VS 2019 Watch 窗口
The Watch is aware of the number of properties as it lists an icon for each, but the property names and values are blank. Watch 知道属性的数量,因为它为每个列出了一个图标,但属性名称和值是空白的。 Also, if I type the property name directly (eg detail.Asset.Id) it will display the value.
此外,如果我直接键入属性名称(例如 detail.Asset.Id),它将显示值。
Has anyone seen this?有没有人看到这个? know the cause?
知道原因吗? and/or know how to fix?
和/或知道如何修复?
修复/重新启动似乎已修复它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.