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

Side by Side Diff: runtime/observatory/bin/shell.dart

Issue 837723004: Build Observatory as part of runtime (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « runtime/observatory/bin/server.dart ('k') | runtime/observatory/lib/app.dart » ('j') | 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 4
5 library shell; 5 library shell;
6 6
7 import 'package:observatory/service_io.dart'; 7 import 'package:observatory/service_io.dart';
8 8
9 import 'dart:io'; 9 import 'dart:io';
10 10
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 void main() { 28 void main() {
29 String addr = 'ws://localhost:8181/ws'; 29 String addr = 'ws://localhost:8181/ws';
30 new WebSocketVM(new WebSocketVMTarget(addr)).get('vm').then((VM vm) { 30 new WebSocketVM(new WebSocketVMTarget(addr)).get('vm').then((VM vm) {
31 Isolate isolate = vm.isolates.first; 31 Isolate isolate = vm.isolates.first;
32 String prefix = '${isolate.link}'; 32 String prefix = '${isolate.link}';
33 repl(vm, prefix, 'prefix $prefix'); 33 repl(vm, prefix, 'prefix $prefix');
34 }); 34 });
35 } 35 }
OLDNEW
« no previous file with comments | « runtime/observatory/bin/server.dart ('k') | runtime/observatory/lib/app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698