Open CreateAndInject opened 6 years ago
Tagging @cston for expression evaluator question
@CreateAndInject, I'm able to view all three variables in the Locals and Watch windows in a more recent preview build of Visual Studio, using a C# console application targeting .NET 4.6.1. How do I view variables in the a memory window?
just type the name in the memory window
From discussing with @plnelson, it sounds like IntPtr
is not handled in the Memory window currently. Adding @caslan to re-assign this issue. Thanks.
The debugger is failing to set DkmEvaluationResultFlags.Address for IntPtr/UIntPtr. Fix is at VilEvaluationResult/CreateInternal line 609.
@tmat is this fixed? If not, please set appropriate milestone.
@plnelson ?
I can still reproduce in But it seems this is a debugger bug, not Roslyn bug based on @plnelson's comment
This should be fixed with https://devdiv.visualstudio.com/DevDiv/_git/Concord/pullrequest/194867
Version Used: VS2017 15.7.4
Steps to Reproduce:
Expected Behavior: I can view all the 3 variables.
Actual Behavior: Both "str" & "num" are ok, but when I view "ptr", I get: Unable to evaluate the expression.