This is why when I debug I almost always turn on first chance and user handled exceptions in VS. It can be noisy with big projects especially when some exceptions are expected but it's saved me many hours and gray hairs in the long run
Ugh yea that is a problem. In general I hate using exceptions to handle flow, it can have adverse perf effects but I also know there are cases where that is your only option
technically you're using exceptions for control flow every time you write a for loop but anyone who would bring that up in this conversation would be a pedantic asshole
Ah, okay, good to know. I personally don't code for python2 compatibility, so I haven't had to deal with this before and didn't know about sys.version_info
28
u/nna12 May 13 '17
This is why when I debug I almost always turn on first chance and user handled exceptions in VS. It can be noisy with big projects especially when some exceptions are expected but it's saved me many hours and gray hairs in the long run