From 4c18345034cf819ffbd694ccab08a22abea90f63 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Mon, 18 Mar 2013 15:38:24 +0100 Subject: [PATCH] more work on the device debug no_start flag --- bin/deploy.m | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/deploy.m b/bin/deploy.m index 4cfc0378..4b369fd4 100644 --- a/bin/deploy.m +++ b/bin/deploy.m @@ -450,12 +450,15 @@ start_debugger(am_device_t dev) assert(app != nil); NSString *app_remote_path = [app objectForKey:@"Path"]; - // If we need to attach an external debugger, we can quit here. + // If we need to attach an external debugger, we can stop here. if (getenv("no_start")) { - printf("%s\n%s\n", [app_remote_path fileSystemRepresentation], + printf("device_support_path: %s\nremote_app_path: %s\n"\ + "debug_server_socket_path: %s\n", + [device_support_path fileSystemRepresentation], + [app_remote_path fileSystemRepresentation], gdb_unix_socket_path); - return; + pause(); } unlink(gdb_unix_socket_path);