Visual Studio mouse over debugging doesn't wor

2019-09-05 08:26发布

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:

<code>enter image description here</code>

But not the one I need:

enter image description here

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!

enter image description here

I am running VS as an admin. HELP!

1条回答
我想做一个坏孩纸
2楼-- · 2019-09-05 08:53

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

查看更多
登录 后发表回答