views:

42

answers:

2

Hi,

I try to delete some managedobjects by calling in a for loop

[managedObject delete]; 

and at of the loop, I call

[managedObjectContext save:nil];

At the above line, the app crashes and goes nowhere from there. Any ideas?

Thanks

A: 

The app itself does not crash.. the simulator simply hangs

Mahadevan
Edit your question instead of posting additional comments as answers.
Marcus S. Zarra
A: 

Run in the debugger and make sure you are breaking on objc_exception_throw. If you can't catch the break point or produce a crash log you are not going to find much help here.

Marcus S. Zarra