Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index bb2efbfb1643d5e73174e12cccf019b326e2b56e..98b41882a5dddbc9746d4af0bbbe62b26de080cb 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -510,6 +510,18 @@ class Isolate : public BaseIsolate { |
return last_reload_timestamp_; |
} |
+ bool IsPaused() const; |
+ |
+ bool should_pause_post_service_request() const { |
+ return should_pause_post_service_request_; |
+ } |
+ void set_should_pause_post_service_request( |
+ bool should_pause_post_service_request) { |
+ should_pause_post_service_request_ = should_pause_post_service_request; |
+ } |
+ |
+ void PausePostRequest(); |
+ |
uword user_tag() const { |
return user_tag_; |
} |
@@ -854,7 +866,8 @@ class Isolate : public BaseIsolate { |
intptr_t reload_every_n_stack_overflow_checks_; |
IsolateReloadContext* reload_context_; |
int64_t last_reload_timestamp_; |
- |
+ // Should we pause in the debug message loop after this request? |
+ bool should_pause_post_service_request_; |
static Dart_IsolateCreateCallback create_callback_; |
static Dart_IsolateShutdownCallback shutdown_callback_; |