Index: runtime/vm/debugger_api_impl.cc |
diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc |
index 9ac461ce381251a0c49450f2cae87d2c0c6b69f8..829f0f5c12d9f73c8b3b075b5f1d238aaee9fe4b 100644 |
--- a/runtime/vm/debugger_api_impl.cc |
+++ b/runtime/vm/debugger_api_impl.cc |
@@ -18,6 +18,7 @@ namespace dart { |
// Facilitate quick access to the current zone once we have the curren thread. |
#define Z (T->zone()) |
+#ifndef PRODUCT |
#define UNWRAP_AND_CHECK_PARAM(type, var, param) \ |
type& var = type::Handle(); \ |
@@ -960,4 +961,12 @@ DART_EXPORT Dart_IsolateId Dart_GetIsolateId(Dart_Isolate dart_isolate) { |
return isolate->debugger()->GetIsolateId(); |
} |
+#else |
+ |
+DART_EXPORT void Dart_SetPausedEventHandler(Dart_PausedEventHandler handler) { |
+ // NOOP. |
+} |
+ |
+#endif // !PRODUCT |
+ |
} // namespace dart |