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

Unified Diff: runtime/vm/isolate.cc

Issue 2603383004: Sane asynchronous debugging and stack traces (Closed)
Patch Set: rebase Created 3 years, 11 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/intrinsifier_x64.cc ('k') | runtime/vm/method_recognizer.h » ('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 5e43f3a05bc1d7d5a077b7801806c260bf0c81d8..566198f8a15c8689ee6a85caa61837100b5c76b3 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1168,8 +1168,10 @@ 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) {
+ if (FLAG_support_debugger) {
+ debugger()->WhenRunnable();
+ if (FLAG_pause_isolates_on_unhandled_exceptions &&
+ !ServiceIsolate::IsServiceIsolate(this)) {
debugger()->SetExceptionPauseInfo(kPauseOnUnhandledExceptions);
}
}
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698