| Index: runtime/vm/debugger.cc
|
| diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
|
| index 1834063e31316fd48cb132875c586747738b9aef..3ffa06bbd0d8368d6dbbdd3f9f85e44b6623af7b 100644
|
| --- a/runtime/vm/debugger.cc
|
| +++ b/runtime/vm/debugger.cc
|
| @@ -898,7 +898,7 @@ void ActivationFrame::PrintToJSONObject(JSONObject* jsobj) {
|
|
|
|
|
| void DebuggerStackTrace::AddActivation(ActivationFrame* frame) {
|
| - if (FLAG_show_invisible_frames || frame->function().is_debuggable()) {
|
| + if (FLAG_show_invisible_frames || frame->function().is_visible()) {
|
| trace_.Add(frame);
|
| }
|
| }
|
| @@ -1317,7 +1317,7 @@ DebuggerStackTrace* Debugger::StackTraceFrom(const Stacktrace& ex_trace) {
|
| // pre-allocated trace (such as a stack overflow) or (b) because a stack has
|
| // fewer frames that the pre-allocated trace (such as memory exhaustion with
|
| // a shallow stack).
|
| - if (!function.IsNull() && function.is_debuggable()) {
|
| + if (!function.IsNull() && function.is_visible()) {
|
| code = ex_trace.CodeAtFrame(i);
|
| ASSERT(function.raw() == code.function());
|
| uword pc = code.EntryPoint() + Smi::Value(ex_trace.PcOffsetAtFrame(i));
|
|
|