问题描述
我试图调试控制器和特定变量不显示工具提示。我尝试重新启动计算机和可视化工作室无效。
[HttpPut]
[Route({id} )]
公共异步Threading.Task< IHttpActionResult>放([FromUri]的Guid ID,[FromBody] Api.Document文档模型)
{
变种测试=等待PutOrStatusCodeAsync(文档模型,ID).ConfigureAwait(真);
返回测试;
}
所有其他变量都可以被隐藏:
我将其添加到观察列表中,获取表达式求值程序中的内部错误。
我发现这个线程:的功能,但我使用托管兼容模式是灰色的!
我运行VS作为管理员。帮助!
我想出来了。这是灰色的,因为我正在调试。一旦我停止了这个过程,它可以检查。
I am trying to debug a controller and a particular variable does not show the tooltip. I tried restarting the computer and visual studio to no avail.
[HttpPut]
[Route("{id}")]
public async Threading.Task<IHttpActionResult> Put([FromUri] Guid id, [FromBody] Api.Document documentModel)
{
var test = await PutOrStatusCodeAsync(documentModel, id).ConfigureAwait(true);
return test;
}
ALL other variables can be moused over:
But not the one I need:
I added it to the watch list and am getting "Internal error in the expression evaluator".
I found this thread: Get "Internal error in the expression evaluator" on "Add watch" function when trying to debug WCF service code (MSVS 2013), but my use Managed Compatibility Mode is greyed out!
I am running VS as an admin. HELP!
I figured it out. It was grayed out because I was currently debugging. Once I stopped the process it was available to check.
这篇关于Visual Studio鼠标悬停调试不适用于特定变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!