mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 22:42:55 +08:00
fix a bug in debugger where built-in debug commands are not working
http://hipbyte.myjetbrains.com/youtrack/issue/RM-187
This bug was introduced by 3847d29e31
This commit is contained in:
@@ -982,7 +982,7 @@ gdb_commands_file(void)
|
||||
if ([[NSFileManager defaultManager] fileExistsAtPath:gdb_path]) {
|
||||
gdb_task = [[NSTask launchedTaskWithLaunchPath:gdb_path
|
||||
arguments:[NSArray arrayWithObjects:@"--arch", @"i386", @"-q",
|
||||
@"--pid", [pidNumber description], nil]] retain];
|
||||
@"--pid", [pidNumber description], @"-x", gdb_commands_file(), nil]] retain];
|
||||
}
|
||||
else if ([[NSFileManager defaultManager] fileExistsAtPath:lldb_path]) {
|
||||
gdb_task = [[NSTask launchedTaskWithLaunchPath:lldb_path
|
||||
|
||||
Reference in New Issue
Block a user