| 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=--compile_all --error_on_bad_type --error_on_bad_override --verbos
e_debug | 4 // VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug |
| 5 | 5 |
| 6 import 'package:observatory/service_io.dart'; | 6 import 'package:observatory/service_io.dart'; |
| 7 import 'test_helper.dart'; | 7 import 'test_helper.dart'; |
| 8 import 'dart:developer'; | 8 import 'dart:developer'; |
| 9 | 9 |
| 10 foo() async { } | 10 foo() async { } |
| 11 | 11 |
| 12 doAsync(stop) async { | 12 doAsync(stop) async { |
| 13 if (stop) debugger(); | 13 if (stop) debugger(); |
| 14 await foo(); // Line 14. | 14 await foo(); // Line 14. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 34 asyncNext, | 34 asyncNext, |
| 35 hasStoppedAtBreakpoint, | 35 hasStoppedAtBreakpoint, |
| 36 stoppedAtLine(15), | 36 stoppedAtLine(15), |
| 37 asyncNext, | 37 asyncNext, |
| 38 hasStoppedAtBreakpoint, | 38 hasStoppedAtBreakpoint, |
| 39 stoppedAtLine(16), | 39 stoppedAtLine(16), |
| 40 resumeIsolate, | 40 resumeIsolate, |
| 41 ]; | 41 ]; |
| 42 | 42 |
| 43 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); | 43 main(args) => runIsolateTests(args, tests, testeeConcurrent: testMain); |
| OLD | NEW |