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 | 4 // VMOptions=--error_on_bad_type --error_on_bad_override |
5 | 5 |
6 import 'dart:developer'; | 6 import 'dart:developer'; |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 import 'dart:isolate' show ReceivePort; | 8 import 'dart:isolate' show ReceivePort; |
9 import 'package:observatory/models.dart' as M; | 9 import 'package:observatory/models.dart' as M; |
10 import 'package:observatory/service_io.dart'; | 10 import 'package:observatory/service_io.dart'; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 var interruptFuture = hasPausedFor(isolate, ServiceEvent.kPauseInterrupted); | 45 var interruptFuture = hasPausedFor(isolate, ServiceEvent.kPauseInterrupted); |
46 print('Pausing...'); | 46 print('Pausing...'); |
47 await isolate.pause(); | 47 await isolate.pause(); |
48 await interruptFuture; | 48 await interruptFuture; |
49 }, | 49 }, |
50 | 50 |
51 ]; | 51 ]; |
52 | 52 |
53 main(args) => runIsolateTests(args, tests, | 53 main(args) => runIsolateTests(args, tests, |
54 testeeConcurrent: testMain, | 54 testeeConcurrent: testMain, |
55 trace_service: true, | 55 verbose_vm: true, |
56 verbose_vm: true); | 56 extraArgs: [ '--trace-service', |
| 57 '--trace-service-verbose' ]); |
OLD | NEW |