问题
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