I keep a future-break objc_exception_throw in my .gdbinit (because I generally debug in AppCode, which doesn’t yet have a GUI means of configuring breaks on objective-c exceptions).
Is there an equivalent for LLDB?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you create a “.lldbinit” file in the directory from which you are debugging and then specify the file on the command line:
% cat ./.lldbinit
breakpoint set –name objc_exception_throw
% lldb /bin/ls
(lldb) breakpoint list –full
Current breakpoints:
1: name = ‘objc_exception_throw’, locations = 0 (pending)
This should help you to work around the issue for now.
The “.lldbinit” file ordering is: