1

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

privateson
  • 395
  • 4
  • 12

1 Answers1

0

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

bbum
  • 162,346
  • 23
  • 271
  • 359
  • 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 Aug 11 '10 at 17:49
  • By the way, I liked your WWDC presentation (as usual)! Just don't let them make it an all beginners event. – Nikolai Ruhe Aug 11 '10 at 17:51
  • Is this still a known issue? A year later? For I am running into exactly the same problem, but if its a known issue still than I will not post a new question about it. – ophychius Aug 02 '11 at 09:10
  • I should so have added the @bbum to that last post, but it wont let me edit anymore. – ophychius Aug 02 '11 at 13:45
  • Have you tested it on the NDA'd tools [that we can't discuss here]? If so, then file a bug and take the question to the deforums. – bbum Aug 02 '11 at 14:08