I am finalizing my dice program and I have a NSTextField that show the value of the most rolled dice number. I use a for loop to iterate from 0 to 99 and if the number rolled is 28 I do basically 'array++;' which increments index 28 to a value of 1 and so on. There is something in the code that is wrong and no matter what the next number will be 29, 30 and so on.
I turned on the break points but I need to go through many rolls of the dice to see what is happening. 1 pass is not enough.
Can I set up the debugger to loop?
-Lars
I turned on the break points but I need to go through many rolls of the dice to see what is happening. 1 pass is not enough.
Can I set up the debugger to loop?
-Lars