title: How to debug python script that is crashing python
body: <p>I'm trying to help debug a python script that is causing python (2.7) itself to crashes.  </p>
  
  <ul>
  <li>The script logs some info to a file and it ends at a different stop on each run, or at least what it writes out is at a different spot.  </li>
  <li>The script already have a try\catch's.  </li>
  <li>The script has worked previously without errors </li>
  <li>This is on Window 2008 servers, with a fair bit of RAM and when run not much CPU usage.</li>
  </ul>
  
  <p>So my question:</p>
  
  <ul>
  <li>Are there tools or techniques that could help? 
  <ul>
  <li>I see that there is a pdb module I could import but not sure if that would help this issue.</li>
  </ul></li>
  <li>When a py script crashes python itself how would you debug that?</li>
  </ul>
  
  <p>GB</p>