OLD | NEW |
---|---|
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug | 4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug |
5 | 5 |
6 import 'package:observatory/service_io.dart'; | |
7 import 'service_test_common.dart'; | 6 import 'service_test_common.dart'; |
8 import 'dart:async'; | 7 import 'dart:async'; |
9 import 'test_helper.dart'; | 8 import 'test_helper.dart'; |
10 import 'dart:developer'; | 9 import 'dart:developer'; |
11 | 10 |
12 const int LINE_A = 20; | 11 const int LINE_A = 20; |
Cutch
2016/11/15 22:17:12
this breaks the line numbers..
kevmoo
2016/11/15 23:00:36
Done.
| |
13 const int LINE_B = 23; | 12 const int LINE_B = 23; |
14 const int LINE_C = 24; | 13 const int LINE_C = 24; |
15 const int LINE_D = 26; | 14 const int LINE_D = 26; |
16 const int LINE_E = 27; | 15 const int LINE_E = 27; |
17 | 16 |
18 testMain() async { | 17 testMain() async { |
19 debugger(); | 18 debugger(); |
20 Future future1 = new Future.value(); // LINE_A. | 19 Future future1 = new Future.value(); // LINE_A. |
21 Future future2 = new Future.value(); | 20 Future future2 = new Future.value(); |
22 | 21 |
(...skipping 15 matching lines...) Expand all Loading... | |
38 smartNext, | 37 smartNext, |
39 hasStoppedAtBreakpoint, | 38 hasStoppedAtBreakpoint, |
40 stoppedAtLine(LINE_C), | 39 stoppedAtLine(LINE_C), |
41 smartNext, | 40 smartNext, |
42 hasStoppedAtBreakpoint, | 41 hasStoppedAtBreakpoint, |
43 stoppedAtLine(LINE_D), | 42 stoppedAtLine(LINE_D), |
44 resumeIsolate, | 43 resumeIsolate, |
45 ]; | 44 ]; |
46 | 45 |
47 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); | 46 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); |
OLD | NEW |