I debug a project and I get a scary warning somewhere in it:
../opt/anaconda3/envs/myenv/lib/python3.6/site-packages/numpy/core/_methods.py:26: RuntimeWarning: invalid value encountered in reduce
return umr_maximum(a, axis, None, out, keepdims)
Pycharm allows to stop at a exception through setting exception breakpoint, as document says. I tried and it didn't work for warning (I assume warning is not Exception)!
Is there a way for me to stop when this warning raises and see what's going on?