| Index: runtime/vm/object_service.cc
|
| diff --git a/runtime/vm/object_service.cc b/runtime/vm/object_service.cc
|
| index 35c3d07bb7f9886172e2a3d566b77d6f26896f23..fe9566c0f9859ce8fb6dcfb3e48b47627e1533ad 100644
|
| --- a/runtime/vm/object_service.cc
|
| +++ b/runtime/vm/object_service.cc
|
| @@ -1502,7 +1502,8 @@ void StackTrace::PrintJSONImpl(JSONStream* stream, bool ref) const {
|
| PrintSharedInstanceJSON(&jsobj, ref);
|
| jsobj.AddProperty("kind", "StackTrace");
|
| jsobj.AddServiceId(*this);
|
| - jsobj.AddProperty("valueAsString", ToCString());
|
| + intptr_t idx = 0;
|
| + jsobj.AddProperty("valueAsString", ToCStringInternal(*this, &idx));
|
| }
|
|
|
|
|
|
|