OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletch.debug_state; | 5 library fletch.debug_state; |
6 | 6 |
7 import 'bytecodes.dart'; | 7 import 'bytecodes.dart'; |
8 import 'fletch_system.dart'; | 8 import 'fletch_system.dart'; |
9 import 'incremental/fletchc_incremental.dart'; | 9 import 'incremental/fletchc_incremental.dart'; |
10 import 'vm_session.dart'; | 10 import 'vm_session.dart'; |
11 import 'src/debug_info.dart'; | 11 import 'src/debug_info.dart'; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 return (!topFrame.isVisible || | 130 return (!topFrame.isVisible || |
131 currentLocation == null || | 131 currentLocation == null || |
132 currentLocation.isSameSourceLevelLocationAs(previous) || | 132 currentLocation.isSameSourceLevelLocationAs(previous) || |
133 currentLocation.node == null); | 133 currentLocation.node == null); |
134 } | 134 } |
135 | 135 |
136 SourceLocation sourceLocationForFrame(int frame) { | 136 SourceLocation sourceLocationForFrame(int frame) { |
137 return currentBackTrace.frames[frame].sourceLocation(); | 137 return currentBackTrace.frames[frame].sourceLocation(); |
138 } | 138 } |
139 } | 139 } |
OLD | NEW |