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

Unified Diff: runtime/bin/main.cc

Issue 271153002: Add pause/resume for isolates in vmservice/observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 7 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/bin/dbg_connection.cc ('k') | runtime/bin/resources_sources.gypi » ('j') | no next file with comments »
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 8cba49de9184aacb790a91f4967d2b46efe50751..4ae0c26962ef73d5b4d1cc9745f26167ba545b37 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -943,7 +943,7 @@ void main(int argc, char** argv) {
if (!DartUtils::SetOriginalWorkingDirectory()) {
OSError err;
- fprintf(stderr, "Error determinig current directory: %s\n", err.message());
+ fprintf(stderr, "Error determining current directory: %s\n", err.message());
fflush(stderr);
exit(kErrorExitCode);
}
@@ -979,6 +979,9 @@ void main(int argc, char** argv) {
ASSERT(Dart_CurrentIsolate() == NULL);
// Start the VM service isolate, if necessary.
if (start_vm_service) {
+ if (!start_debugger) {
+ DebuggerConnectionHandler::InitForVmService();
+ }
ASSERT(vm_service_server_ip != NULL && vm_service_server_port >= 0);
bool r = VmService::Start(vm_service_server_ip , vm_service_server_port);
if (!r) {
« no previous file with comments | « runtime/bin/dbg_connection.cc ('k') | runtime/bin/resources_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698