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

Unified 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 side-by-side diff with in-line comments
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 »
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 8e1a496cc50f26ede618078f99fc0783e159e128..e9ecdee1ee11eb204969663d15a4f0a2de64b031 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1206,6 +1206,11 @@ class Isolate extends ServiceObjectOwner with Coverage {
{ 'functionId': function.id });
}
+ Future<ServiceObject> addBreakOnActivation(Instance closure) {
+ return invokeRpc('_addBreakpointAtActivation',
+ { 'objectId': closure.id });
+ }
+
Future removeBreakpoint(Breakpoint bpt) {
return invokeRpc('removeBreakpoint',
{ 'breakpointId': bpt.id });
« 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