10

When debugging an ASP.NET Core application, using Visual Studio 2015, I cannot see the variable, parameters and field values, when, for example, I hover them. I cannot add them to the watch as well. I am running in debug.

Ricardo Peres
  • 13,724
  • 5
  • 57
  • 74

2 Answers2

7

We might have found a solution (or at least a workaround) for the problem. If we go into Tools > Options > Debugging and enable Use Managed Compatibility Mode then we can inspect all the values we like.

I hope this solves the issue for you as well.

Update: Visual Studio 2015 Update 2 RC fixed the issue for me, but unfortunately not for the OP.

Johan B
  • 890
  • 3
  • 23
  • 39
3

This behavior happens with 1.0.0-rc1-update1, but not with 1.0.0-rc2-16357. If possible, upgrade. Microsoft is aware of it.

Ricardo Peres
  • 13,724
  • 5
  • 57
  • 74