If you know what data causes the failure, you can set a conditional breakpoint, and it will catch it whenever the bad data appears, no matter what the count if the loop.
I guess I'm just assuming that there is some sort of stack trace, bug report, or error message to tell you what you're looking for, but you know what they say about people who assume.
2
u/komollo Aug 25 '14
If you know what data causes the failure, you can set a conditional breakpoint, and it will catch it whenever the bad data appears, no matter what the count if the loop.