Index: runtime/vm/debugger.cc |
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc |
index 64476a9afbd0f84740c3c5222f05f3801209bbe8..a52cf4a53e88a8788d17e8b722272aa6cae06a9d 100644 |
--- a/runtime/vm/debugger.cc |
+++ b/runtime/vm/debugger.cc |
@@ -827,7 +827,7 @@ RawObject* ActivationFrame::GetStackVar(intptr_t slot_index) { |
if (deopt_frame_.IsNull()) { |
return GetVariableValue(LocalVarAddress(fp(), slot_index)); |
} else { |
- return deopt_frame_.At(deopt_frame_offset_ + slot_index); |
+ return deopt_frame_.At(LocalVarIndex(deopt_frame_offset_, slot_index)); |
} |
} |