Visual Studio鼠标悬停调试不适用于特定变量 [英] Visual Studio mouse over debugging doesn't work for particular variable

查看:454
本文介绍了Visual Studio鼠标悬停调试不适用于特定变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图调试控制器和特定变量不显示工具提示。我尝试重新启动计算机和可视化工作室无效。

  [HttpPut] 
[Route({id} )]
公共异步Threading.Task< IHttpActionResult>放([FromUri]的Guid ID,[FromBody] Api.Document文档模型)
{
变种测试=等待PutOrStatusCodeAsync(文档模型,ID).ConfigureAwait(真);
返回测试;
}

所有其他变量都可以被隐藏:





我将其添加到观察列表中,获取表达式求值程序中的内部错误。



我发现这个线程:获取QUOT;内部错误的表达式求值"在添加手表尝试调试WCF服务代码(MSVS 2013)的功能,但我使用托管兼容模式是灰色的!



在这里输入的图像描述



我运行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鼠标悬停调试不适用于特定变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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