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.
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.