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

Side by Side Diff: runtime/observatory/lib/src/elements/service_ref.dart

Issue 866663003: Add a working command line debugger to Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ref_element; 5 library service_ref_element;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'package:logging/logging.dart'; 8 import 'package:logging/logging.dart';
9 import 'package:polymer/polymer.dart'; 9 import 'package:polymer/polymer.dart';
10 import 'observatory_element.dart'; 10 import 'observatory_element.dart';
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 Logger.root.info('Viewing null object.'); 123 Logger.root.info('Viewing null object.');
124 return; 124 return;
125 } 125 }
126 var type = ref.vmType; 126 var type = ref.vmType;
127 var element = _constructElementForRef(); 127 var element = _constructElementForRef();
128 if (element == null) { 128 if (element == null) {
129 Logger.root.info('Unable to find a ref element for \'${type}\''); 129 Logger.root.info('Unable to find a ref element for \'${type}\'');
130 return; 130 return;
131 } 131 }
132 children.add(element); 132 children.add(element);
133 Logger.root.info('Viewing object of \'${type}\'');
134 } 133 }
135 } 134 }
136 135
137 @CustomTag('object-ref') 136 @CustomTag('object-ref')
138 class ObjectRefElement extends ServiceRefElement { 137 class ObjectRefElement extends ServiceRefElement {
139 ObjectRefElement.created() : super.created(); 138 ObjectRefElement.created() : super.created();
140 } 139 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/script_inset.html ('k') | runtime/observatory/lib/src/elements/service_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698