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

Side by Side Diff: runtime/vm/debugger.cc

Issue 2791953002: Revert "Disable awaiter stepping by default until context level computation is fixed" (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/flag_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/debugger.h" 5 #include "vm/debugger.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 8
9 #include "platform/address_sanitizer.h" 9 #include "platform/address_sanitizer.h"
10 10
(...skipping 1956 matching lines...) Expand 10 before | Expand all | Expand 10 after
1967 } 1967 }
1968 // Follow the link. 1968 // Follow the link.
1969 async_stack_trace = async_stack_trace.async_link(); 1969 async_stack_trace = async_stack_trace.async_link();
1970 } 1970 }
1971 1971
1972 return stack_trace; 1972 return stack_trace;
1973 } 1973 }
1974 1974
1975 1975
1976 DebuggerStackTrace* Debugger::CollectAwaiterReturnStackTrace() { 1976 DebuggerStackTrace* Debugger::CollectAwaiterReturnStackTrace() {
1977 if (!FLAG_async_debugger_stepping) { 1977 if (!FLAG_causal_async_stacks) {
1978 return NULL; 1978 return NULL;
1979 } 1979 }
1980 // Causal async stacks are not supported in the AOT runtime. 1980 // Causal async stacks are not supported in the AOT runtime.
1981 ASSERT(!FLAG_precompiled_runtime); 1981 ASSERT(!FLAG_precompiled_runtime);
1982 1982
1983 Thread* thread = Thread::Current(); 1983 Thread* thread = Thread::Current();
1984 Zone* zone = thread->zone(); 1984 Zone* zone = thread->zone();
1985 Isolate* isolate = thread->isolate(); 1985 Isolate* isolate = thread->isolate();
1986 DebuggerStackTrace* stack_trace = new DebuggerStackTrace(8); 1986 DebuggerStackTrace* stack_trace = new DebuggerStackTrace(8);
1987 1987
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after
4353 4353
4354 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) { 4354 void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) {
4355 ASSERT(bpt->next() == NULL); 4355 ASSERT(bpt->next() == NULL);
4356 bpt->set_next(code_breakpoints_); 4356 bpt->set_next(code_breakpoints_);
4357 code_breakpoints_ = bpt; 4357 code_breakpoints_ = bpt;
4358 } 4358 }
4359 4359
4360 #endif // !PRODUCT 4360 #endif // !PRODUCT
4361 4361
4362 } // namespace dart 4362 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flag_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698