| Index: runtime/vm/debugger_api_impl.cc
|
| diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc
|
| index 62d99a4dc69c3191c58e7124e2e4fd162bcc91a7..f5c0a6b2022835e9e59c10a2cd75d4159034e2c1 100644
|
| --- a/runtime/vm/debugger_api_impl.cc
|
| +++ b/runtime/vm/debugger_api_impl.cc
|
| @@ -308,6 +308,19 @@ DART_EXPORT Dart_Handle Dart_ActivationFrameGetLocation(
|
| return Api::Success();
|
| }
|
|
|
| +DART_EXPORT Dart_Handle Dart_ActivationFrameGetFramePointer(
|
| + Dart_ActivationFrame activation_frame,
|
| + uintptr_t* frame_pointer) {
|
| + Isolate* isolate = Isolate::Current();
|
| + DARTSCOPE(isolate);
|
| + CHECK_AND_CAST(ActivationFrame, frame, activation_frame);
|
| +
|
| + if (frame_pointer != NULL) {
|
| + *frame_pointer = static_cast<uintptr_t>(frame->fp());
|
| + }
|
| + return Api::Success();
|
| +}
|
| +
|
|
|
| DART_EXPORT Dart_Handle Dart_GetFunctionOrigin(Dart_Handle function_in) {
|
| Isolate* isolate = Isolate::Current();
|
|
|