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

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

Issue 1290643005: Remove load graph from isolate (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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=--error_on_bad_type --error_on_bad_override 4 // VMOptions=--error_on_bad_type --error_on_bad_override
5 5
6 import 'package:observatory/service_io.dart'; 6 import 'package:observatory/service_io.dart';
7 import 'package:observatory/debugger.dart'; 7 import 'package:observatory/debugger.dart';
8 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
9 import 'test_helper.dart'; 9 import 'test_helper.dart';
10 import 'dart:async'; 10 import 'dart:async';
11 import 'dart:developer'; 11 import 'dart:developer';
12 12
13 void testFunction() { 13 void testFunction() {
14 int i = 0; 14 int i = 0;
15 while (true) { 15 while (i == 0) {
Cutch 2015/08/12 22:12:33 fixes an analyzer warning
16 debugger(); 16 debugger();
17 print('loop'); 17 print('loop');
18 print('loop'); 18 print('loop');
19 } 19 }
20 } 20 }
21 21
22 class TestDebugger extends Debugger { 22 class TestDebugger extends Debugger {
23 TestDebugger(this.isolate, this.stack); 23 TestDebugger(this.isolate, this.stack);
24 24
25 VM get vm => isolate.vm; 25 VM get vm => isolate.vm;
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 return DebuggerLocation.complete(debugger, 'DebuggerLocationTestFoo.q') 256 return DebuggerLocation.complete(debugger, 'DebuggerLocationTestFoo.q')
257 .then((List<String> completions) { 257 .then((List<String> completions) {
258 expect(completions.toString(), equals('[]')); 258 expect(completions.toString(), equals('[]'));
259 }); 259 });
260 }); 260 });
261 }, 261 },
262 262
263 ]; 263 ];
264 264
265 main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction); 265 main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction);
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698