| Index: runtime/vm/debugger_api_impl.cc
|
| diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc
|
| index f9bbe1cf8b40b1791f1bd7a5d63283945a0f0764..09e24c011dc8a8f9ab9d73cbe0c8d499366bdc30 100644
|
| --- a/runtime/vm/debugger_api_impl.cc
|
| +++ b/runtime/vm/debugger_api_impl.cc
|
| @@ -255,6 +255,7 @@ DART_EXPORT Dart_Handle Dart_ActivationFrameInfo(
|
| DART_EXPORT Dart_Handle Dart_ActivationFrameGetLocation(
|
| Dart_ActivationFrame activation_frame,
|
| Dart_Handle* function_name,
|
| + Dart_Handle* function,
|
| Dart_CodeLocation* location) {
|
| // TODO(hausner): Implement a way to recognize when there
|
| // is no source code for the code in the frame.
|
| @@ -264,6 +265,9 @@ DART_EXPORT Dart_Handle Dart_ActivationFrameGetLocation(
|
| if (function_name != NULL) {
|
| *function_name = Api::NewHandle(isolate, frame->QualifiedFunctionName());
|
| }
|
| + if (function != NULL) {
|
| + *function = Api::NewHandle(isolate, frame->function().raw());
|
| + }
|
|
|
| if (location != NULL) {
|
| location->script_url = Api::NewHandle(isolate, frame->SourceUrl());
|
|
|