Revert "Disable awaiter stepping by default until context level computation is fixed"
This reverts commit bf3d6137b3c51f3f7418b96deddfae7c949e085c.
This reverts the cherry-pick of commit 61e11c6808e3fd87c574f4277b3d9ff745dc85f0
to the dev channel. That commit was reverted on the master branch by
fb84ff3fc42ee5885a66d9ab080bafbdaf67e9f8
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
index eaef08ec..63760c0 100644
--- a/runtime/vm/debugger.cc
+++ b/runtime/vm/debugger.cc
@@ -1972,7 +1972,7 @@
DebuggerStackTrace* Debugger::CollectAwaiterReturnStackTrace() {
- if (!FLAG_async_debugger_stepping) {
+ if (!FLAG_causal_async_stacks) {
return NULL;
}
// Causal async stacks are not supported in the AOT runtime.
diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h
index f086e69..e8fcc0c 100644
--- a/runtime/vm/flag_list.h
+++ b/runtime/vm/flag_list.h
@@ -149,7 +149,7 @@
C(causal_async_stacks, false, false, bool, true, "Improved async stacks") \
C(stress_async_stacks, false, false, bool, false, \
"Stress test async stack traces") \
- C(async_debugger_stepping, false, false, bool, false, \
+ C(async_debugger_stepping, false, false, bool, true, \
"Debugger support for stepping in and out of async functions.") \
R(support_ast_printer, false, bool, true, "Support the AST printer.") \
R(support_compiler_stats, false, bool, true, "Support compiler stats.") \