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

Unified Diff: pkg/analysis_server/lib/src/get_handler.dart

Issue 847963003: Add indication of instrumentation active/inactive to analysis server status. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
Index: pkg/analysis_server/lib/src/get_handler.dart
diff --git a/pkg/analysis_server/lib/src/get_handler.dart b/pkg/analysis_server/lib/src/get_handler.dart
index ebdac828f51bba77fc0846d5e6f6c7b7260cd4bb..1c7828146400f4d502574cb70ec7ebf2262e27bf 100644
--- a/pkg/analysis_server/lib/src/get_handler.dart
+++ b/pkg/analysis_server/lib/src/get_handler.dart
@@ -396,6 +396,13 @@ class GetHandler {
} else {
response.write('<p>Running (not analyzing)</p>');
}
+ response.write('<p>Instrumentation status: ');
+ if (AnalysisEngine.instance.instrumentationService.isActive) {
+ response.write('<span style="color:red">active</span>');
+ } else {
+ response.write('inactive');
+ }
+ response.write('</p>');
response.write('<h1>Analysis Contexts</h1>');
response.write('<h2>Summary</h2>');
response.write('<table>');

Powered by Google App Engine
This is Rietveld 408576698