title: Pycharm cannot stop at breakpoint when there is a infinite recursion exception
body: <p>Below is my source code:</p>
  
  <pre><code>def infinite_recursion(i):
      return infinite_recursion(i)
  
  
  def index_out_of_range():
      arr = [1, 2, 3]
      print arr[3]
  
  
  def foo():
      try:
          infinite_recursion(1)
      except:
          pass
  
      print 1
  
  
  def bar():
      try:
          index_out_of_range()
      except:
          pass
  
      print 2
  
  if __name__ == '__main__':
      foo()
  </code></pre>
  
  <p>When I try to debug it with Pycharm, I set a breakpoint at the line '<strong>print 1</strong>' in the function '<strong>foo</strong>'. Then I execute debug process in Pycharm, finally, it does not stop at the breakpoint, that's very strange.</p>
  
  <p>Then I change my source code and set the breakpoint at the line '<strong>print 2</strong>' in the function '<strong>bar</strong>' and change some source code from</p>
  
  <pre><code>if __name__ == '__main__':
      foo()
  </code></pre>
  
  <p>to</p>
  
  <pre><code>if __name__ == '__main__':
      bar()
  </code></pre>
  
  <p>This time Pycharm can stop at the breakpoint.</p>
  
  <p>Can anybody figure the root cause? It seems Pycharm debugger is out of work after the infinite recursion exception.</p>