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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java

Issue 751353002: An option to enable 'print' to send output to the console. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java
index 8f947e25dd7db975a6e6a69735390983b57e4149..18a5e8e15c323ded4739765bc2ce080b639d114a 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java
@@ -496,12 +496,15 @@ public class DartCore extends Plugin implements DartSdkListener {
};
}
}
- // incremental resolution
+ // additional options
if (DartCoreDebug.ANALYSIS_SERVER_INCREMENTAL_RESOLUTION) {
additionalArguments = ArrayUtils.add(
additionalArguments,
"--enable-incremental-resolution");
}
+ if (DartCoreDebug.ANALYSIS_SERVER_PRINT_TO_CONSOLE) {
+ additionalArguments = ArrayUtils.add(additionalArguments, "--internal-print-to-console");
+ }
// HTTP port
int httpPort = 0;
if (DartCoreDebug.ANALYSIS_SERVER_HTTP_PORT != null

Powered by Google App Engine
This is Rietveld 408576698