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

Unified Diff: runtime/bin/main.cc

Issue 237113002: SIGQUIT toggles VM service HTTP server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 | « no previous file | runtime/bin/vmservice/server.dart » ('j') | runtime/bin/vmservice/server.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 62fea29882eeaf1c6978a1cf3c167b6c9278b376..5d51d0943c3bbb4dfa379ee92579f3c2a9bea2a0 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -66,8 +66,8 @@ static bool has_print_script = false;
// VM Service options.
-static bool start_vm_service = false;
-static int vm_service_server_port = -1;
+static bool start_vm_service = true;
+static int vm_service_server_port = 0;
turnidge 2014/04/14 16:51:46 Comment here on what a 0 port means.
Cutch 2014/04/15 17:42:07 I had to change this code. I put the comment about
static const int DEFAULT_VM_SERVICE_SERVER_PORT = 8181;
// The environment provided through the command line using -D options.
« no previous file with comments | « no previous file | runtime/bin/vmservice/server.dart » ('j') | runtime/bin/vmservice/server.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698