是否有人将命令加载到LLDB中以进行XCode应用程序的调试会话。 我在XCode 6.1.1和iOS 8.x
我不知道任何Python,所以id非常喜欢避免涉及Python。 我想加载我从文件中手工输入的东西,所以每次重新运行调试会话时我都不必一遍又一遍地输入...
(lldb) breakpoint set --func-regex "SomeClass"
Breakpoint 10: 48 locations.
(lldb) breakpoint set --func-regex "AnotherClass"
Breakpoint 11: 15 locations.
(lldb) breakpoint set --func-regex "ThisClass"
Breakpoint 12: 15 locations.
(lldb) breakpoint set --func-regex "ThatClass"
Breakpoint 13: 57 locations.
(lldb) breakpoint set --func-regex "OurClass"
Breakpoint 14: 98 locations.
(lldb) breakpoint set --func-regex "YourClass"
Breakpoint 15: 22 locations.
(lldb) breakpoint set --func-regex "HerClass"
Breakpoint 16: 17 locations.
(lldb) breakpoint set --func-regex "HisClass"
Breakpoint 17: 46 locations.
(lldb) breakpoint set --func-regex "TheyreClass"
Breakpoint 18: 63 locations.
(lldb) breakpoint command add 10
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 11
Enter your debugger command(s). Type 'DONE' to end.
> frame info; continue; DONE
> DONE
(lldb) breakpoint command delete 11
(lldb) breakpoint command add 11
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 12
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 13
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 14
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 15
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 16
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 17
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
(lldb) breakpoint command add 18
Enter your debugger command(s). Type 'DONE' to end.
> frame info
> continue
> DONE
由于