diff --git a/src/frames.cc b/src/frames.cc index 3bf4c93e39..227fa67d54 100644 --- a/src/frames.cc +++ b/src/frames.cc @@ -520,6 +520,31 @@ void JavaScriptFrame::Print(StringStream* accumulator, Code* code = NULL; if (IsConstructor()) accumulator->Add("new "); accumulator->PrintFunction(function, receiver, &code); + + if (function->IsJSFunction()) { + Handle shared(JSFunction::cast(function)->shared()); + Object* script_obj = shared->script(); + if (script_obj->IsScript()) { + Handle