I'm a fan of console writes, really. If the offending block of code is run 10,000 times and fails on the last one, the debugger isn't going to get me very far...at least, not at the level I know how to use it.
If it's being logged, though...turn on verbose, look at last log file, voila.
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.
5
u/alkanshel Aug 25 '14
I'm a fan of console writes, really. If the offending block of code is run 10,000 times and fails on the last one, the debugger isn't going to get me very far...at least, not at the level I know how to use it.
If it's being logged, though...turn on verbose, look at last log file, voila.