Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index bb2efbfb1643d5e73174e12cccf019b326e2b56e..d6bbce550b37537d003a8a5b7341b7759b8c9966 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_reload_request() const { |
+ return should_pause_post_reload_request_; |
+ } |
+ void set_should_pause_post_reload_request( |
+ bool should_pause_post_reload_request) { |
+ should_pause_post_reload_request_ = should_pause_post_reload_request; |
+ } |
+ |
+ void PausePostReload(); |
+ |
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_reload_request_; |
static Dart_IsolateCreateCallback create_callback_; |
static Dart_IsolateShutdownCallback shutdown_callback_; |