Search code examples
visual-studiodebuggingvisual-studio-2015deb

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


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!


Solution

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