Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 003c59d849655993ab0a7cff2f4069ba3d6d2f03..57679ab2fab9b3e1165ef6f337fe8ed31d07f336 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -1015,6 +1015,11 @@ intptr_t Isolate::ProfileInterrupt() { |
// Profiler blocked for this isolate. |
return 0; |
} |
+ if (message_handler()->paused_on_exit() || |
+ message_handler()->paused_on_start()) { |
turnidge
2014/05/28 20:51:14
How do you feel about adding...
debugger()->I
Cutch
2014/05/28 20:54:06
Done.
|
+ // Paused before start / exit. Don't tick. |
+ return 0; |
+ } |
InterruptableThreadState* state = thread_state(); |
if (state == NULL) { |
// Isolate is not scheduled on a thread. |