Patrick
Patrick

Reputation: 252

How can I locate the line causing a crash in Xcode4.2 with iOS5?

When I use Xcode4.1 with iOS4, it works fine. But when I use Xcode4.2 with iOS5, it locates at the main method. So I don't know where in the program caused the crash.

Upvotes: 0

Views: 90

Answers (1)

Jesse Black
Jesse Black

Reputation: 7976

You can set a breakpoint for all exceptoins

Command+6
Click + on the bottom left
Add Exception Breakpoint
Click Done

I am not sure why they changed the old behavior.

Upvotes: 2

Related Questions