Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CocosDenshion - I keep seeing exceptions thrown

We are using CocosDenshion for our games. When we turn on exception breakpoints in xcode we keep getting exceptions from

status = ExtAudioFileSetProperty(extRef, kExtAudioFileProperty_ClientDataFormat, sizeof(theOutputFormat), &theOutputFormat);

In CDOpenALSupport.m

(note that this exception does not crash the game as it is caught by CocosDenshion but still we want to see if we can prevent these exceptions).

like image 610
AJ222 Avatar asked Nov 07 '12 14:11

AJ222


1 Answers

Set the exception breakpoint to handle only Objective-C exceptions. This prevents these Cocosdenshion exceptions from being caught by the breakpoint.

I wager they're nothing to worry about, it's been like that for as long as I can remember.

like image 52
LearnCocos2D Avatar answered Sep 23 '22 19:09

LearnCocos2D