| Index: runtime/vm/service.cc
|
| diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
|
| index 5ded7a2fc3b3d3795d4d3b2bd0afceaa736e94a8..00e8db4f6df287d9fc93f937f28f18292b27e328 100644
|
| --- a/runtime/vm/service.cc
|
| +++ b/runtime/vm/service.cc
|
| @@ -3014,6 +3014,16 @@ static bool Resume(Thread* thread, JSONStream* js) {
|
| PrintSuccess(js);
|
| return true;
|
| }
|
| + if (isolate->message_handler()->should_pause_on_start()) {
|
| + isolate->message_handler()->set_should_pause_on_start(false);
|
| + isolate->SetResumeRequest();
|
| + if (Service::debug_stream.enabled()) {
|
| + ServiceEvent event(isolate, ServiceEvent::kResume);
|
| + Service::HandleEvent(&event);
|
| + }
|
| + PrintSuccess(js);
|
| + return true;
|
| + }
|
| if (isolate->message_handler()->is_paused_on_exit()) {
|
| isolate->message_handler()->set_should_pause_on_exit(false);
|
| isolate->SetResumeRequest();
|
|
|