Xcode Debugging Help

Mar 28, 2010
Reaction score
C++ in Xcode
My code throws an EXC_ARITHMETIC every once and a while at runtime. (I'm pretty sure it's a divide by 0 or a %0) I can't for the life of me figure out what line it is in. The debugger is confusing and it is not convenient to use breakpoints. (this program loops 2000 times in less than a second and the breakpoints will be triggered many many times.) Is there any way for it just to tell me what line the error is in?

Any help is greatly appreciated.

Shop Amazon

Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.