| Index: runtime/vm/service_event.cc
|
| diff --git a/runtime/vm/service_event.cc b/runtime/vm/service_event.cc
|
| index 1023043f73de0df196e7bd6ad5d64c88f9d25654..bad3583c674a793ef2d7cb66b669b512287826d8 100644
|
| --- a/runtime/vm/service_event.cc
|
| +++ b/runtime/vm/service_event.cc
|
| @@ -197,7 +197,7 @@ void ServiceEvent::PrintJSON(JSONStream* js) const {
|
| JSONObject jssettings(&jsobj, "_debuggerSettings");
|
| isolate()->debugger()->PrintSettingsToJSONObject(&jssettings);
|
| }
|
| - if (top_frame() != NULL) {
|
| + if ((top_frame() != NULL) && Isolate::Current()->compilation_allowed()) {
|
| JSONObject jsFrame(&jsobj, "topFrame");
|
| top_frame()->PrintToJSONObject(&jsFrame);
|
| intptr_t index = 0; // Avoid ambiguity in call to AddProperty.
|
|
|