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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 918003002: Add 'break' and 'clear' commands to Observatory debugger. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/lib/src/elements/debugger.dart ('k') | runtime/observatory/test/command_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 47e45becbbfc9cceca209f29591c35153129718c..fb46c10304d9e2289c62703137111807d430c6a5 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1816,6 +1816,14 @@ class ServiceFunction extends ServiceObject with Coverage {
kind = FunctionKind.fromJSON(map['kind']);
isDart = !kind.isFake();
+ if (parent == null) {
+ qualifiedName = (owningClass != null) ?
+ "${owningClass.name}.${name}" :
+ name;
+ } else {
+ qualifiedName = "${parent.qualifiedName}.${name}";
+ }
+
if (mapIsRef) { return; }
isStatic = map['static'];
@@ -1831,14 +1839,6 @@ class ServiceFunction extends ServiceObject with Coverage {
deoptimizations = map['deoptimizations'];
usageCounter = map['usageCounter'];
- if (parent == null) {
- qualifiedName = (owningClass != null) ?
- "${owningClass.name}.${name}" :
- name;
- } else {
- qualifiedName = "${parent.qualifiedName}.${name}";
- }
-
}
}
« no previous file with comments | « runtime/observatory/lib/src/elements/debugger.dart ('k') | runtime/observatory/test/command_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698