Game Development Reference
In-Depth Information
Figure 14-3
.
Adding an exception breakpoint
Once the exception breakpoint has been added, right-click it and select
Edit Breakpoint
to
bring up the popover menu shown in
Figure 14-4
. Change the
Exception
type to
Objective-C. This prevents C++ exceptions from being caught, which you probably don't
want. Though normally there won't be any C++ code in your app, the OpenAL framework
and possibly others may sometimes raise C++ exceptions you don't need to deal with.
Figure 14-4
.
Editing the exception breakpoint to catch only Objective-C exceptions
Search WWH ::
Custom Search