1

breakpoint http://dl.dropbox.com/u/60578443/exception_breakpoint.png exception http://dl.dropbox.com/u/60578443/simpleaudioengine_exception.png

I've met a issue in SimpleAudioEngine in cocos2d.

As the image shows,I added a breakpoint that pauses the code every time exception comes.Then every time I need to play audio effect,it pauses.Also there are several breakpoints of them.That's kind of inconvenient.How can I avoid these exceptions with exceptions I need enabled?

Guru
  • 21,652
  • 10
  • 63
  • 102
ManuQiao
  • 708
  • 8
  • 20

1 Answers1

4

Change your exception to Objective-C rather than all. That fixed it for me.

Breakpoint

Ben Trengrove
  • 8,191
  • 3
  • 40
  • 58