Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1848)

Unified Diff: runtime/vm/service.cc

Issue 1310863004: More logging for pause tests (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/isolate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 2da04ef244fc93d31081a29967e2ad11bc0fe4e5..3e9070ea40c691c0fcf4e66b47e702c41d209fbe 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -644,8 +644,8 @@ void Service::SendEvent(const char* stream_id,
intptr_t len = writer.BytesWritten();
if (FLAG_trace_service) {
OS::Print(
- "vm-service: Pushing event of type %s to stream %s, len %" Pd "\n",
- event_type, stream_id, len);
+ "vm-service: Pushing event of type %s to stream %s (%s), len %" Pd "\n",
+ event_type, stream_id, isolate->name(), len);
}
// TODO(turnidge): For now we ignore failure to send an event. Revisit?
PortMap::PostMessage(
@@ -736,8 +736,11 @@ void Service::PostEvent(const char* stream_id,
list_values[1] = &json_cobj;
if (FLAG_trace_service) {
+ Isolate* isolate = Isolate::Current();
+ ASSERT(isolate != NULL);
OS::Print(
- "vm-service: Pushing event of type %s to stream %s\n", kind, stream_id);
+ "vm-service: Pushing event of type %s to stream %s (%s)\n",
+ kind, stream_id, isolate->name());
}
Dart_PostCObject(ServiceIsolate::Port(), &list_cobj);
« no previous file with comments | « runtime/vm/isolate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698