Visual Studio mouse over debugging doesn't work for particular variable

允我心安 提交于 2019-12-12 02:38:23

问题


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!


回答1:


I figured it out. It was grayed out because I was currently debugging. Once I stopped the process it was available to check.



来源:https://stackoverflow.com/questions/37890760/visual-studio-mouse-over-debugging-doesnt-work-for-particular-variable

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