| Index: runtime/vm/service_event.cc
|
| diff --git a/runtime/vm/service_event.cc b/runtime/vm/service_event.cc
|
| index e3eb3afbb0f2536ca1be51c67a0a0a99e9daf944..a53ace2d9343db46582249460aef121a31a817ad 100644
|
| --- a/runtime/vm/service_event.cc
|
| +++ b/runtime/vm/service_event.cc
|
| @@ -36,6 +36,7 @@ ServiceEvent::ServiceEvent(const DebuggerEvent* debugger_event)
|
| breakpoint_(NULL),
|
| top_frame_(NULL),
|
| exception_(NULL),
|
| + async_continuation_(NULL),
|
| inspectee_(NULL),
|
| gc_stats_(NULL),
|
| bytes_(NULL),
|
| @@ -43,6 +44,7 @@ ServiceEvent::ServiceEvent(const DebuggerEvent* debugger_event)
|
| DebuggerEvent::EventType type = debugger_event->type();
|
| if (type == DebuggerEvent::kBreakpointReached) {
|
| set_breakpoint(debugger_event->breakpoint());
|
| + set_async_continuation(debugger_event->async_continuation());
|
| }
|
| if (type == DebuggerEvent::kExceptionThrown) {
|
| set_exception(debugger_event->exception());
|
| @@ -161,6 +163,9 @@ void ServiceEvent::PrintJSON(JSONStream* js) const {
|
| if (exception() != NULL) {
|
| jsobj.AddProperty("exception", *(exception()));
|
| }
|
| + if (async_continuation() != NULL) {
|
| + jsobj.AddProperty("_asyncContinuation", *(async_continuation()));
|
| + }
|
| if (inspectee() != NULL) {
|
| jsobj.AddProperty("inspectee", *(inspectee()));
|
| }
|
|
|