{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5017","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5017/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5017/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5017/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/5017","id":100719851,"number":5017,"title":"13828201: Core Data throws/catches exceptions internally during normal use.","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:serious%20bug","name":"classification:serious bug","color":"e11d21"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/4","html_url":"https://github.com/lionheart/openradar-mirror/milestones/iOS%20SDK","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/4/labels","id":1237418,"number":4,"title":"iOS SDK","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":950,"closed_issues":0,"state":"open","created_at":"2015-08-03T02:08:31Z","updated_at":"2015-08-13T09:02:29Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-13T09:02:29Z","updated_at":"2015-08-13T09:02:29Z","closed_at":null,"body":"#### Description\n\nGood Objective-C practices prescribe the use of exceptions only in the case of unrecoverable conditions caused by coder error, especially since ARC makes them much more expensive to throw. This restriction is really helpful for debugging, since a breakpoint set to fire when an exception is thrown should always break on error conditions.\r\n\r\nUnfortunately, Core Data catches exceptions (I'm actually not sure if it throws them intentionally or if it's abusing the code beneath it) during normal use. The exceptions never escape Core Data's context, but exception breakpoints are still triggered, making debugging onerous. Core Data should not be throwing exceptions.\r\n\r\nA workaround exists in the form of a conditional breakpoint: http://restkit.tumblr.com/post/40736602228/dealing-with-core-data-phantom-breakpoints\n\n-\nProduct Version: 6.1\nCreated: 2013-05-07T17:36:31.158272\nOriginated: 2013-05-07T10:35:00\nOpen Radar Link: http://www.openradar.me/13828201"}}