I have Visual Studio 2015 with Python Tools, and I'm trying to debug a python application, but it doesn't break on a certain error.
The error is an IndexError, which can be reproduced with this code:
matrix = [5, 6, 7]
print matrix[2]
print matrix[5000]
Running this will gives me a message in the console, but it won't automatically break.

On the other hand, if I have a NameError:
nonExistingFunction()
It does break, allowing me to easily see where it wrong...

Is this normal? And is there a way to make visual studio break when there's an error like that IndexError?
Here is a screenshot of the options window (no idea if this actually applies to python) and the python tools > debugging



