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

Unified Diff: runtime/vm/isolate.cc

Issue 1232193003: Provide stdout and stderr output in the Observatory debugger. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: before commit Created 5 years, 5 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/heap.cc ('k') | runtime/vm/service.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 bd19791cf8e74468e040ef9fb2423f77cd53f1c8..16b70e466c5ecd6054680bbd4b05c90e9340ea08 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -485,7 +485,7 @@ bool IsolateMessageHandler::HandleMessage(Message* message) {
void IsolateMessageHandler::NotifyPauseOnStart() {
- if (Service::NeedsDebugEvents()) {
+ if (Service::debug_stream.enabled()) {
StartIsolateScope start_isolate(isolate());
StackZone zone(I);
HandleScope handle_scope(I);
@@ -496,7 +496,7 @@ void IsolateMessageHandler::NotifyPauseOnStart() {
void IsolateMessageHandler::NotifyPauseOnExit() {
- if (Service::NeedsDebugEvents()) {
+ if (Service::debug_stream.enabled()) {
StartIsolateScope start_isolate(isolate());
StackZone zone(I);
HandleScope handle_scope(I);
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698