mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-17 23:25:42 +08:00
[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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user