| 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 8ed2e5d7d6d12e82e9901f622e6088ca59b4b6e6..813fdd0506e3d310367b0f62e56f8e3c61aa5c13 100644
|
| --- a/pkg/dartino_compiler/lib/debug_state.dart
|
| +++ b/pkg/dartino_compiler/lib/debug_state.dart
|
| @@ -52,10 +52,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'";
|
| }
|
|
|