4 ms·
I always add a counter to the infinite loops to break out of them incase of unexpectedly high number of iterations
by quickthrower2 4y ago
I always add a counter to the infinite loops to break out of them incase of unexpectedly high number of iterations
- bee_rider 4y agoError out or something? Otherwise it would seem the program is in a weird state.
- quickthrower2 4y agoError, or do the sensible “no results found” for example in the tree search.
- eps 4y ago... and then what?
- scotty79 4y agoLike the article said. Break out into a debugger and figure out why it got stuck.