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

Unified Diff: runtime/vm/isolate.cc

Issue 2768103002: Debugger support for step-into async and async* functions. (Closed)
Patch Set: asiva review 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/vm/flag_list.h ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 5b9f0709e4f4d0a6c7fae06be76b97b3af152aa8..c7749e2db0cabb47618aa3bf3e90a13655039b5c 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1138,9 +1138,12 @@ bool Isolate::MakeRunnable() {
ASSERT(object_store()->root_library() != Library::null());
set_is_runnable(true);
#ifndef PRODUCT
- if (FLAG_support_debugger && !ServiceIsolate::IsServiceIsolate(this)) {
- if (FLAG_pause_isolates_on_unhandled_exceptions) {
- debugger()->SetExceptionPauseInfo(kPauseOnUnhandledExceptions);
+ if (FLAG_support_debugger) {
+ if (!ServiceIsolate::IsServiceIsolate(this)) {
+ debugger()->OnIsolateRunnable();
+ if (FLAG_pause_isolates_on_unhandled_exceptions) {
+ debugger()->SetExceptionPauseInfo(kPauseOnUnhandledExceptions);
+ }
}
}
#endif // !PRODUCT
« no previous file with comments | « runtime/vm/flag_list.h ('k') | runtime/vm/kernel_to_il.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698