| 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..fd867d6c03d46795470e6367f6f4afb26ac80323 100644
|
| --- a/runtime/vm/debugger_api_impl.cc
|
| +++ b/runtime/vm/debugger_api_impl.cc
|
| @@ -229,6 +229,7 @@ DART_EXPORT Dart_Handle Dart_GetStackTrace(Dart_StackTrace* trace) {
|
| DART_EXPORT Dart_Handle Dart_ActivationFrameInfo(
|
| Dart_ActivationFrame activation_frame,
|
| Dart_Handle* function_name,
|
| + Dart_Handle* function,
|
| Dart_Handle* script_url,
|
| intptr_t* line_number,
|
| intptr_t* library_id) {
|
| @@ -238,6 +239,9 @@ DART_EXPORT Dart_Handle Dart_ActivationFrameInfo(
|
| if (function_name != NULL) {
|
| *function_name = Api::NewHandle(isolate, frame->QualifiedFunctionName());
|
| }
|
| + if (function != NULL) {
|
| + *function = Api::NewHandle(isolate, frame->function().raw());
|
| + }
|
| if (script_url != NULL) {
|
| *script_url = Api::NewHandle(isolate, frame->SourceUrl());
|
| }
|
|
|