title: PDB debugger stability questions
body: <p>I am using either pdb or ipdb for debugging my python code.  However whenever I am using set_trace() I can typically run a handful of lines of code to test but it eventually freezes while I am typing.  I kill the python process and have to re-run the entire process from the start - which usually kills about 5-10 minutes of data processing time to get back to where I was.  </p>
  
  <p>I am using an anaconda build with python 2.7.</p>
  
  <p>The only anomaly I have is that I needed to run
  <code>conda install -c conda-forge psycopg2=2.6.2</code> in order to be able to use psycopg2.  I have been ignoring it for the last two months but realize that it isn't an acceptable work flow.</p>
  
  <p>Any thoughts to help resolve would be appreciated.</p>