Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Unified Diff: runtime/vm/code_generator.cc

Issue 2786503003: Fix a couple of bugs with async stack traces (Closed)
Patch Set: update dartk service test status Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | runtime/vm/debugger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.cc
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
index 10b18c3bbbedaef1d9af1d50b8fbc5a690b7642a..de63989ec9f953e6121c4bfaf8ca5e0a55a69f02 100644
--- a/runtime/vm/code_generator.cc
+++ b/runtime/vm/code_generator.cc
@@ -1631,6 +1631,9 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) {
frame->VariableAt(v, &var_name, &unused, &unused, &unused, &var_value);
}
}
+ if (FLAG_stress_async_stacks) {
+ Debugger::CollectAwaiterReturnStackTrace();
+ }
FLAG_stacktrace_every = saved_stacktrace_every;
}
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | runtime/vm/debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698