We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ebcdcc commit 5e5b5efCopy full SHA for 5e5b5ef
Mono.Debugger.Soft/Mono.Debugger.Soft/PointerValue.cs
@@ -48,6 +48,25 @@ public TypeMirror Type {
48
get { return type; }
49
}
50
51
+ // Since protocol version 2.46
52
+ public Value Value {
53
+ get {
54
+ ValueImpl value;
55
+ if (Address == 0)
56
+ return null;
57
+ try {
58
+ value = vm.conn.Pointer_GetValue (Address, Type);
59
+ }
60
+ catch (CommandException ex) {
61
+ if (ex.ErrorCode == ErrorCode.INVALID_ARGUMENT)
62
+ throw new ArgumentException ("Invalid pointer address.");
63
+ else
64
+ throw;
65
66
+ return vm.DecodeValue (value);
67
68
69
+
70
public override bool Equals (object obj) {
71
if (obj != null && obj is PointerValue)
72
return addr == (obj as PointerValue).addr;
0 commit comments