Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: runtime/observatory/tests/service/vm_restart_test.dart

Issue 1393523002: Support tab completion of line:col in the debugger. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix warnings and other issues Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 4 // VMOptions=--compile-all --error_on_bad_type --error_on_bad_override
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:developer'; 7 import 'dart:developer';
8 import 'dart:io';
9 import 'package:observatory/service_io.dart'; 8 import 'package:observatory/service_io.dart';
10 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
11 import 'test_helper.dart'; 10 import 'test_helper.dart';
12 11
13 int count = 0; 12 int count = 0;
14 13
15 void test() { 14 void test() {
16 while (true) { 15 while (true) {
17 count++; 16 count++;
18 debugger(); 17 debugger();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 print("restarting"); 96 print("restarting");
98 await isolate.vm.restart(); 97 await isolate.vm.restart();
99 await restartCompleter.future; 98 await restartCompleter.future;
100 print("restarted"); 99 print("restarted");
101 await testCompleter.future; 100 await testCompleter.future;
102 }, 101 },
103 ]; 102 ];
104 103
105 104
106 main(args) => runIsolateTests(args, tests, testeeConcurrent: test); 105 main(args) => runIsolateTests(args, tests, testeeConcurrent: test);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698