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

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

Issue 774983003: Add logging to the incremental resolver. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Extract logger into a separate library. Remove dart:io dependency. Created 6 years 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 18a5e8e15c323ded4739765bc2ce080b639d114a..faafab9d9cd2d62ca05ede34957aa43e77886ffe 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
@@ -502,6 +502,14 @@ public class DartCore extends Plugin implements DartSdkListener {
additionalArguments,
"--enable-incremental-resolution");
}
+ {
+ String log = DartCoreDebug.ANALYSIS_SERVER_INCREMENTAL_RESOLUTION_LOG;
+ if (log != null) {
+ additionalArguments = ArrayUtils.add(
+ additionalArguments,
+ "--incremental-resolution-log=" + log);
+ }
+ }
if (DartCoreDebug.ANALYSIS_SERVER_PRINT_TO_CONSOLE) {
additionalArguments = ArrayUtils.add(additionalArguments, "--internal-print-to-console");
}

Powered by Google App Engine
This is Rietveld 408576698