Index: runtime/vm/debugger_api_impl.cc |
=================================================================== |
--- runtime/vm/debugger_api_impl.cc (revision 3467) |
+++ runtime/vm/debugger_api_impl.cc (working copy) |
@@ -209,4 +209,14 @@ |
} |
+DART_EXPORT Dart_Handle Dart_DeleteBreakpoint( |
+ Dart_Breakpoint breakpoint_in) { |
+ Isolate* isolate = Isolate::Current(); |
+ DARTSCOPE(isolate); |
+ |
+ CHECK_AND_CAST(Breakpoint, breakpoint, breakpoint_in); |
+ isolate->debugger()->RemoveBreakpoint(breakpoint); |
+ return Api::True(); |
+} |
+ |
} // namespace dart |