Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index 011e22b1b0f352616f87a72f85a37dc92ea409f6..f17949f6a51ea77d23933e04b62fc7a82e94c6f7 100644 |
--- a/runtime/vm/service.cc |
+++ b/runtime/vm/service.cc |
@@ -2254,6 +2254,13 @@ void Service::SendGraphEvent(Isolate* isolate) { |
} |
+void Service::SendInspectEvent(Isolate* isolate, const Object& inspectee) { |
+ ServiceEvent event(isolate, ServiceEvent::kInspect); |
+ event.set_inspectee(&inspectee); |
+ Service::HandleEvent(&event); |
+} |
+ |
+ |
class ContainsAddressVisitor : public FindObjectVisitor { |
public: |
ContainsAddressVisitor(Isolate* isolate, uword addr) |