| Index: runtime/vm/isolate.cc
|
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
|
| index 673fa0b72f1f76797b4c546e470f302248403245..185aa9c8c733c3d9955e9121a019c90d632891a6 100644
|
| --- a/runtime/vm/isolate.cc
|
| +++ b/runtime/vm/isolate.cc
|
| @@ -897,6 +897,8 @@ void Isolate::PrintToJSONStream(JSONStream* stream, bool ref) {
|
| jsheap.AddProperty("capacityOld", heap()->CapacityInWords(Heap::kOld));
|
| }
|
|
|
| + // TODO(turnidge): Don't compute a full stack trace every time we
|
| + // request an isolate's info.
|
| DebuggerStackTrace* stack = debugger()->StackTrace();
|
| if (stack->Length() > 0) {
|
| JSONObject jsframe(&jsobj, "topFrame");
|
|
|