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

Unified Diff: runtime/vm/debugger.cc

Issue 2707413002: Fix causal_async_star_stack_contents_test with optimization-counter-threshold=5 (Closed)
Patch Set: rebase Created 3 years, 10 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/causal_async_star_stack_contents_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.cc
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
index 0c0edcc769aa9480232142a1447d2ae444b78668..a74a0f53fb38beae9814b94fdaa9e8c8f4466b7e 100644
--- a/runtime/vm/debugger.cc
+++ b/runtime/vm/debugger.cc
@@ -1680,7 +1680,7 @@ DebuggerStackTrace* Debugger::CollectAsyncCausalStackTrace() {
// asynchronous dispatch mechanisms.
StackFrameIterator iterator(false);
StackFrame* frame = iterator.NextFrame();
- while (synchronous_stack_trace_length >= 0) {
+ while (synchronous_stack_trace_length > 0) {
ASSERT(frame != NULL);
if (frame->IsDartFrame()) {
code = frame->LookupDartCode();
« no previous file with comments | « runtime/observatory/tests/service/causal_async_star_stack_contents_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698