public Value[] GetValues (LocalVariable[] vars) {
if (vars == null)
throw new ArgumentNullException ("vars");
for (int i = 0; i < vars.Length; ++i) {
if (vars [i] == null)
throw new ArgumentNullException ("vars");
if (vars [i].Method != Method)
throw new ArgumentException ("Local variable doesn't belong to this frame's method.");
}
int[] pos = new int [vars.Length];
for (int i = 0; i < vars.Length; ++i)
pos [i] = vars [i].GetValueIndex;
return vm.DecodeValues (vm.conn.StackFrame_GetValues (thread.Id, Id, pos));
}