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

Side by Side Diff: runtime/observatory/lib/src/service/object.dart

Issue 1191133002: UI for setting/clearing closure-specific breakpoints. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
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 part of service; 5 part of service;
6 6
7 /// An RpcException represents an exceptional event that happened 7 /// An RpcException represents an exceptional event that happened
8 /// while invoking an rpc. 8 /// while invoking an rpc.
9 abstract class RpcException implements Exception { 9 abstract class RpcException implements Exception {
10 RpcException(this.message); 10 RpcException(this.message);
(...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 1878
1879 @observable var typeClass; 1879 @observable var typeClass;
1880 @observable var fields; 1880 @observable var fields;
1881 @observable var nativeFields; 1881 @observable var nativeFields;
1882 @observable var elements; // If a List. 1882 @observable var elements; // If a List.
1883 @observable var associations; // If a Map. 1883 @observable var associations; // If a Map.
1884 @observable var typedElements; // If a TypedData. 1884 @observable var typedElements; // If a TypedData.
1885 @observable var referent; // If a MirrorReference. 1885 @observable var referent; // If a MirrorReference.
1886 @observable Instance key; // If a WeakProperty. 1886 @observable Instance key; // If a WeakProperty.
1887 @observable Instance value; // If a WeakProperty. 1887 @observable Instance value; // If a WeakProperty.
1888 @observable Breakpoint activationBreakpoint; // If a Closure.
1888 1889
1889 bool get isAbstractType { 1890 bool get isAbstractType {
1890 return (kind == 'Type' || kind == 'TypeRef' || 1891 return (kind == 'Type' || kind == 'TypeRef' ||
1891 kind == 'TypeParameter' || kind == 'BoundedType'); 1892 kind == 'TypeParameter' || kind == 'BoundedType');
1892 } 1893 }
1893 bool get isNull => kind == 'Null'; 1894 bool get isNull => kind == 'Null';
1894 bool get isBool => kind == 'Bool'; 1895 bool get isBool => kind == 'Bool';
1895 bool get isDouble => kind == 'Double'; 1896 bool get isDouble => kind == 'Double';
1896 bool get isString => kind == 'String'; 1897 bool get isString => kind == 'String';
1897 bool get isInt => kind == 'Int'; 1898 bool get isInt => kind == 'Int';
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
1976 case "Float32x4List": 1977 case "Float32x4List":
1977 typedElements = bytes.buffer.asFloat32x4List(); break; 1978 typedElements = bytes.buffer.asFloat32x4List(); break;
1978 case "Float64x2List": 1979 case "Float64x2List":
1979 typedElements = bytes.buffer.asFloat64x2List(); break; 1980 typedElements = bytes.buffer.asFloat64x2List(); break;
1980 } 1981 }
1981 } 1982 }
1982 typeClass = map['typeClass']; 1983 typeClass = map['typeClass'];
1983 referent = map['mirrorReferent']; 1984 referent = map['mirrorReferent'];
1984 key = map['propertyKey']; 1985 key = map['propertyKey'];
1985 value = map['propertyValue']; 1986 value = map['propertyValue'];
1987 activationBreakpoint = map['_activationBreakpoint'];
1986 1988
1987 // We are fully loaded. 1989 // We are fully loaded.
1988 _loaded = true; 1990 _loaded = true;
1989 } 1991 }
1990 1992
1991 String get shortName { 1993 String get shortName {
1992 if (isClosure) { 1994 if (isClosure) {
1993 return function.qualifiedName; 1995 return function.qualifiedName;
1994 } 1996 }
1995 if (valueAsString != null) { 1997 if (valueAsString != null) {
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
3349 var v = list[i]; 3351 var v = list[i];
3350 if ((v is ObservableMap) && _isServiceMap(v)) { 3352 if ((v is ObservableMap) && _isServiceMap(v)) {
3351 list[i] = owner.getFromMap(v); 3353 list[i] = owner.getFromMap(v);
3352 } else if (v is ObservableList) { 3354 } else if (v is ObservableList) {
3353 _upgradeObservableList(v, owner); 3355 _upgradeObservableList(v, owner);
3354 } else if (v is ObservableMap) { 3356 } else if (v is ObservableMap) {
3355 _upgradeObservableMap(v, owner); 3357 _upgradeObservableMap(v, owner);
3356 } 3358 }
3357 } 3359 }
3358 } 3360 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/ports.dart ('k') | runtime/observatory/tests/service/break_on_activation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698