Index: pkg/dartino_compiler/lib/debug_state.dart |
diff --git a/pkg/dartino_compiler/lib/debug_state.dart b/pkg/dartino_compiler/lib/debug_state.dart |
index e0f4a660e51f609c4ff725ee67a979155067458e..7ddb2e877994c4cfce76118db95e2057b75e6ac7 100644 |
--- a/pkg/dartino_compiler/lib/debug_state.dart |
+++ b/pkg/dartino_compiler/lib/debug_state.dart |
@@ -60,10 +60,14 @@ class Breakpoint { |
Breakpoint(this.function, this.bytecodeIndex, this.id); |
- String location(DebugState state) { |
+ String locationString(DebugState state) { |
return state.getDebugInfo(function).fileAndLineStringFor(bytecodeIndex); |
} |
+ SourceLocation location(DebugState state) { |
+ return state.getDebugInfo(function).locationFor(bytecodeIndex); |
+ } |
+ |
String toString() => "id: '$id' method: '$methodName' " |
"bytecode index: '$bytecodeIndex'"; |
} |