| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino 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 // Test that we get a meaningful breakpoint when breaking on a non-empty | 5 // Test that we get a meaningful breakpoint when breaking on a non-empty |
| 6 // column that does not point to the first sub-expression of the line. | 6 // column that does not point to the first sub-expression of the line. |
| 7 | 7 |
| 8 // DartinoDebuggerCommands=bf tests/debugger/nonempty_column_test.dart 13 22,r,b
t,c | 8 // DartinoDebuggerCommands=bf tests/debugger/nonempty_column_test.dart 13 22,r,b
t,c,q |
| 9 | 9 |
| 10 int foo() { | 10 int foo() { |
| 11 int x = 2; | 11 int x = 2; |
| 12 int y = 3; | 12 int y = 3; |
| 13 int z = (y + 4) - (x + 5); | 13 int z = (y + 4) - (x + 5); |
| 14 return x + y + z; | 14 return x + y + z; |
| 15 } | 15 } |
| 16 | 16 |
| 17 main() { | 17 main() { |
| 18 return foo() - 5; | 18 return foo() - 5; |
| 19 } | 19 } |
| OLD | NEW |