From 264422f26fcee7b3071f983d25d01bdd67e9f3d3 Mon Sep 17 00:00:00 2001 From: Watson Date: Thu, 18 Dec 2014 12:04:32 +0900 Subject: [PATCH] [RM-691] fix where it can't debug app on device with Xcode 6 1. not forward SIGINT to lldb. Because if forward SIGINT, lldb will terminate 2. remove "process.Continue()\n" if lauch the app with "process.Continue()\n", it can't invoke lldb command. weird. --- bin/deploy.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/deploy.m b/bin/deploy.m index 0f13cc66..07a402cd 100644 --- a/bin/deploy.m +++ b/bin/deploy.m @@ -389,9 +389,6 @@ static id gdb_task = nil; static void sigforwarder(int sig) { - if (gdb_task != nil) { - kill([gdb_task processIdentifier], sig); - } } #define WITH_DEBUG 1 @@ -892,7 +889,6 @@ start_debug_server(am_device_t dev) "lldb.debugger.HandleCommand(\"process plugin packet send 'QSetEnableAsyncProfiling;enable:1;interval_usec:1000000;scan_type:0xfffffeff;'\")\n"\ "error = lldb.SBError()\n"\ "process.RemoteLaunch(None, None, None, None, None, None, 0, False, error)\n"\ - "process.Continue()\n"\ "", lldb_socket_path, app_path,