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

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

Issue 1149983003: Reapply "Per-closure breakpoints; restructure breakpoint implementation to keep a list of condition… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync 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
« no previous file with comments | « no previous file | runtime/observatory/tests/service/break_on_activation_test.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 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 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 } 1199 }
1200 rethrow; 1200 rethrow;
1201 } 1201 }
1202 } 1202 }
1203 1203
1204 Future<ServiceObject> addBreakpointAtEntry(ServiceFunction function) { 1204 Future<ServiceObject> addBreakpointAtEntry(ServiceFunction function) {
1205 return invokeRpc('addBreakpointAtEntry', 1205 return invokeRpc('addBreakpointAtEntry',
1206 { 'functionId': function.id }); 1206 { 'functionId': function.id });
1207 } 1207 }
1208 1208
1209 Future<ServiceObject> addBreakOnActivation(Instance closure) {
1210 return invokeRpc('_addBreakpointAtActivation',
1211 { 'objectId': closure.id });
1212 }
1213
1209 Future removeBreakpoint(Breakpoint bpt) { 1214 Future removeBreakpoint(Breakpoint bpt) {
1210 return invokeRpc('removeBreakpoint', 1215 return invokeRpc('removeBreakpoint',
1211 { 'breakpointId': bpt.id }); 1216 { 'breakpointId': bpt.id });
1212 } 1217 }
1213 1218
1214 Future pause() { 1219 Future pause() {
1215 return invokeRpc('pause', {}); 1220 return invokeRpc('pause', {});
1216 } 1221 }
1217 1222
1218 Future resume() { 1223 Future resume() {
(...skipping 1935 matching lines...) Expand 10 before | Expand all | Expand 10 after
3154 var v = list[i]; 3159 var v = list[i];
3155 if ((v is ObservableMap) && _isServiceMap(v)) { 3160 if ((v is ObservableMap) && _isServiceMap(v)) {
3156 list[i] = owner.getFromMap(v); 3161 list[i] = owner.getFromMap(v);
3157 } else if (v is ObservableList) { 3162 } else if (v is ObservableList) {
3158 _upgradeObservableList(v, owner); 3163 _upgradeObservableList(v, owner);
3159 } else if (v is ObservableMap) { 3164 } else if (v is ObservableMap) {
3160 _upgradeObservableMap(v, owner); 3165 _upgradeObservableMap(v, owner);
3161 } 3166 }
3162 } 3167 }
3163 } 3168 }
OLDNEW
« no previous file with comments | « no previous file | runtime/observatory/tests/service/break_on_activation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698