Index: runtime/observatory/lib/src/service/object.dart |
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart |
index c25d7dbad205f0674c76eb6250952885aee8fb49..c17db626d72d35f26b2ac664c6aa88403b6b487a 100644 |
--- a/runtime/observatory/lib/src/service/object.dart |
+++ b/runtime/observatory/lib/src/service/object.dart |
@@ -697,6 +697,8 @@ abstract class VM extends ServiceObjectOwner { |
static const kIsolateStream = 'Isolate'; |
static const kDebugStream = 'Debug'; |
static const kGCStream = 'GC'; |
+ static const kStdoutStream = 'Stdout'; |
+ static const kStderrStream = 'Stderr'; |
static const _kGraphStream = '_Graph'; |
/// Returns a single-subscription Stream object for a VM event stream. |
@@ -1625,6 +1627,7 @@ class ServiceEvent extends ServiceObject { |
@observable int count; |
@observable String reason; |
@observable String exceptions; |
+ @observable String bytesAsString; |
int chunkIndex, chunkCount, nodeCount; |
@observable bool get isPauseEvent { |
@@ -1680,6 +1683,10 @@ class ServiceEvent extends ServiceObject { |
map['_debuggerSettings']['_exceptions'] != null) { |
exceptions = map['_debuggerSettings']['_exceptions']; |
} |
+ if (map['bytes'] != null) { |
+ var bytes = decodeBase64(map['bytes']); |
+ bytesAsString = UTF8.decode(bytes); |
+ } |
} |
String toString() { |