Cannot See Values While Debugging ASP.NET Core

我的梦境 提交于 2019-12-04 20:21:00

问题


When debugging an ASP.NET Core application, using Visual Studio 2015, I cannot see the variable, parameters and field values, when, for example, I hover them. I cannot add them to the watch as well. I am running in debug.


回答1:


We might have found a solution (or at least a workaround) for the problem. If we go into Tools > Options > Debugging and enable Use Managed Compatibility Mode then we can inspect all the values we like.

I hope this solves the issue for you as well.

Update: Visual Studio 2015 Update 2 RC fixed the issue for me, but unfortunately not for the OP.




回答2:


This behavior happens with 1.0.0-rc1-update1, but not with 1.0.0-rc2-16357. If possible, upgrade. Microsoft is aware of it.



来源:https://stackoverflow.com/questions/35543354/cannot-see-values-while-debugging-asp-net-core

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!