4
irby
4y

Trying to easily observe the contents of a variable in C#
> Me: Newtonsoft.Json.JsonConver.SerializeObject(localVariable)
> Immediate Window: the runtime refused to evaluate the expression at this time
> Me: excuse me

Comments
  • 3
    Try threatening to use java, that might do it
  • 0
    Might be because Newtonsoft Json uses reflection in non-dotnet core environments? Wild guess
    Why don't you pin variables while debugging?
Add Comment