Index: pkg/dartino_compiler/lib/cli_debugger.dart |
diff --git a/pkg/dartino_compiler/lib/cli_debugger.dart b/pkg/dartino_compiler/lib/cli_debugger.dart |
index d469cb8a35b5e5b9a203a38627c8b2825ef8635a..795a0c3d0b31dca617795d279e047988543dc835 100644 |
--- a/pkg/dartino_compiler/lib/cli_debugger.dart |
+++ b/pkg/dartino_compiler/lib/cli_debugger.dart |
@@ -722,7 +722,7 @@ Future<RemoteObject> _processVariable( |
assert(vmContext.isSpawned); |
assert(accesses.isNotEmpty); |
LocalAccess localAccess = accesses.first; |
- int frame = vmContext.debugState.currentFrame; |
+ int frame = vmContext.debugState.actualCurrentFrameNumber; |
LocalValue local = await lookupValue(localAccess.localName, vmContext); |
if (local == null) { |
return new RemoteErrorObject( |