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

Side by Side Diff: runtime/observatory/lib/service_common.dart

Issue 1122503003: Display isolate message queue in Observatory debugger (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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
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 service_common; 5 library service_common;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 10
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 }); 309 });
310 } else { 310 } else {
311 message = JSON.encode({'id': serial, 311 message = JSON.encode({'id': serial,
312 'method': request.method, 312 'method': request.method,
313 'params': request.params}); 313 'params': request.params});
314 } 314 }
315 if (request.method != 'getTagProfile' && 315 if (request.method != 'getTagProfile' &&
316 request.method != 'getIsolateMetric' && 316 request.method != 'getIsolateMetric' &&
317 request.method != 'getVMMetric') { 317 request.method != 'getVMMetric') {
318 Logger.root.info( 318 Logger.root.info(
319 'GET [${serial}] ${request.method} from ${target.networkAddress}'); 319 'GET [${serial}] ${request.method}(${request.params}) from ${target.ne tworkAddress}');
320 } 320 }
321 // Send message. 321 // Send message.
322 _webSocket.send(message); 322 _webSocket.send(message);
323 } 323 }
324 } 324 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698