| Index: runtime/lib/stacktrace.cc
|
| diff --git a/runtime/lib/stacktrace.cc b/runtime/lib/stacktrace.cc
|
| index 7f9c146b5d68f9ab9eba8d6c30e74a74b862b2ef..2d6267a3b2e60efdb0186b3354f8f9fa9f5ff076 100644
|
| --- a/runtime/lib/stacktrace.cc
|
| +++ b/runtime/lib/stacktrace.cc
|
| @@ -110,7 +110,14 @@ DEFINE_NATIVE_ENTRY(StackTrace_current, 0) {
|
| }
|
|
|
|
|
| -DEFINE_NATIVE_ENTRY(StackTrace_asyncStackTraceHelper, 0) {
|
| +DEFINE_NATIVE_ENTRY(StackTrace_asyncStackTraceHelper, 1) {
|
| + GET_NON_NULL_NATIVE_ARGUMENT(Closure, async_op, arguments->NativeArgAt(0));
|
| + if (FLAG_support_debugger) {
|
| + Debugger* debugger = isolate->debugger();
|
| + if (debugger != NULL) {
|
| + debugger->MaybeAsyncStepInto(async_op);
|
| + }
|
| + }
|
| return CurrentStackTrace(thread, true);
|
| }
|
|
|
|
|