Mono.Debugger.Soft.StackFrame.GetValue C# (CSharp) Method

GetValue() public method

public GetValue ( Mono.Debugger.Soft.LocalVariable var ) : Mono.Debugger.Soft.Value
var Mono.Debugger.Soft.LocalVariable
return Mono.Debugger.Soft.Value
		public Value GetValue (LocalVariable var) {
			if (var == null)
				throw new ArgumentNullException ("var");
			if (var.Method != Method)
				throw new ArgumentException ("Local variable doesn't belong to this frame's method.");

			// FIXME: Liveness
			// FIXME: Check for return value
			// FIXME: Allow returning the frame return value if possible
			return vm.DecodeValue (vm.conn.StackFrame_GetValues (thread.Id, Id, new int [] { var.GetValueIndex } )[0]);
		}

Same methods

StackFrame::GetValue ( Mono.Debugger.Soft.ParameterInfoMirror param ) : Mono.Debugger.Soft.Value