Xcode always stopping at main.m after a crash

In the past, with the old and good Xcode 3, every time I had a crash, Xcode stopped at the offending line showing the crash. It was good times, nice to debug.

Now with Xcode 4.2, every time the app crashes, it stops at main.m at this line

int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");

that gives no clue to what is causing the crash. The problem can be in any class but it will always stop on main.m when it crashes.

is there a way to make it work correctly again?


note: I have asked this before on SO, but the solution given that time was proved to be not satisfactory and the problem persists.


They changed the behavior, follow this tutorial to break on all exceptions

Need Your Help

setting a value based on another value in a linq query


I'm changing a variable from a string a byte in my business logic but I'm not touching the database field that contains the value yet. So in the meantime, I'm looking for a c# equivalent to javascr...

Odd bug with DataMapper, Mutexes, and Threads?

ruby multithreading concurrency locking datamapper

I have a database full of URLs that I need to test HTTP response time for on a regular basis. I want to have many worker threads combing the database at all times for a URL that hasn't been tested