31 isolate_group_(isolate_group),
34 flag_new_value_(nullptr),
35 previous_tag_(nullptr),
36 updated_tag_(nullptr),
37 embedder_kind_(nullptr),
38 embedder_stream_id_(nullptr),
41 timeline_event_block_(nullptr),
42 extension_rpc_(nullptr),
44 reload_error_(nullptr),
45 spawn_token_(nullptr),
46 spawn_error_(nullptr),
47 at_async_jump_(
false),
52 timestamp_(
OS::GetCurrentTimeMillis()) {
90 return "VMFlagUpdate";
92 return "IsolateStart";
94 return "IsolateRunnable";
98 return "IsolateUpdate";
100 return "ServiceExtensionAdded";
102 return "IsolateReload";
108 return "PauseBreakpoint";
110 return "PauseInterrupted";
112 return "PauseException";
114 return "PausePostRequest";
120 return "BreakpointAdded";
122 return "BreakpointResolved";
124 return "BreakpointRemoved";
126 return "BreakpointUpdated";
136 return "_DebuggerSettingsUpdate";
142 return "TimelineEvents";
144 return "TimelineStreamSubscriptionsUpdate";
146 return "UserTagChanged";
215 return embedder_stream_id_;
234 if (reload_error_ ==
nullptr) {
242 ASSERT(extension_rpc_ !=
nullptr);
246 JSONArray jsarr(&jsobj,
"pauseBreakpoints");
258 jsobj.
AddProperty(
"timelineEvents", timeline_event_block_);
262 Timeline::PrintFlagsToJSONArray(&arr);
265 JSONObject jssettings(&jsobj,
"_debuggerSettings");
268#if !defined(DART_PRECOMPILED_RUNTIME)
291 if (
bytes() !=
nullptr) {
307 js->AppendSerializedObject(
"extensionData",
void PrintToJSONObject(JSONObject *jsobj)
static Isolate * vm_isolate()
void PrintSettingsToJSONObject(JSONObject *jsobj) const
static const char * GCReasonToString(GCReason reason)
void PrintToJSONObject(Space space, JSONObject *object) const
static const char * GCTypeToString(GCType type)
int64_t last_resume_timestamp() const
static bool IsVMInternalIsolate(const Isolate *isolate)
Debugger * debugger() const
MessageHandler * message_handler() const
void AddValue(bool b) const
void AddPropertyVM(const char *name, bool ref=true) const
void AddProperty64(const char *name, int64_t i) const
void AddProperty(const char *name, bool b) const
void AddPropertyBase64(const char *name, const uint8_t *bytes, intptr_t length) const
void AddPropertyTimeMillis(const char *name, int64_t millis) const
int64_t paused_timestamp() const
static int64_t GetCurrentTimeMillis()
void PrintProfileJSON(JSONStream *stream, bool include_code_samples)
Profile * cpu_profile() const
const StreamInfo * stream_info() const
Breakpoint * breakpoint() const
const char * KindAsCString() const
const char * previous_tag() const
intptr_t bytes_length() const
@ kTimelineStreamSubscriptionsUpdate
@ kDebuggerSettingsUpdate
const char * stream_id() const
bool at_async_jump() const
const Object * exception() const
const uint8_t * bytes() const
Isolate * isolate() const
IsolateGroup * isolate_group() const
const char * updated_tag() const
ActivationFrame * top_frame() const
const Object * inspectee() const
const char * flag_new_value() const
const char * flag_name() const
void PrintJSONHeader(JSONObject *jsobj) const
void PrintJSON(JSONStream *js) const
const char * embedder_kind() const
ServiceEvent(EventKind event_kind)
const Heap::GCStats * gc_stats() const
const Error * reload_error() const
static StreamInfo isolate_stream
static StreamInfo timeline_stream
static StreamInfo debug_stream
static StreamInfo vm_stream
static StreamInfo logging_stream
static StreamInfo profiler_stream
static StreamInfo gc_stream
static StreamInfo extension_stream
static const char * ToCString(Thread *thread, StringPtr ptr)
const String * event_data
const String * event_kind
const Instance * stack_trace