views:

66

answers:

1

Hi

I have an Exception catching statement in my code, like the following:

@try {
      for(NSDictionary* s in users)
      {
           do something ....
      }
 }
 @catch (NSException * exception) {
      NSLog(@"APIRequesetBase readUserInfo: Caught %@: %@", [exception name], [exception reason]);
 }
 @finally {

 }

So this try statement works perfectly on the iphone device, it can catch the exception. However, on simulator, it can never catch the exception. It just crashes!!

I also try other simple try catch statement to test it, and the simulator can never catch the exception. It just simply crashes!!

This issue is so strange. Does anyone have this issue before?

Or is it because of the setting?

Thanks

A: 

This is a known bug that will be fixed in a future release.

bbum
Since you're sitting at the source: Cannot you convince management at Apple that developers would love them for opening up radar? It would be **so helpful** to browse known issues. You could have posted a link to the report in this answer, for example.
Nikolai Ruhe
By the way, I liked your WWDC presentation (as usual)! Just don't let them make it an all beginners event.
Nikolai Ruhe