title: Python pdb not breaking in files properly?
body: <p>I wish I could provide a simple sample case that occurs using standard library code, but unfortunately it only happens when using one of our in-house libraries that in turn is built on top of sql alchemy.</p>
  
  <p>Basically, the problem is that this <code>break</code> command:</p>
  
  <pre><code>(Pdb) print sqlalchemy.engine.base.__file__
  /prod/eggs/SQLAlchemy-0.5.5-py2.5.egg/sqlalchemy/engine/base.py
  
  (Pdb) break /prod/eggs/SQLAlchemy-0.5.5-py2.5.egg/sqlalchemy/engine/base.py:946 
  </code></pre>
  
  <p>Is just being totally ignored, it seems, by <code>pdb</code>. As in, even though I am <em>positive</em> the code is being hit (both because I can see log messages, and because I've used <code>sys.settrace</code> to check which lines in which files are being hit), <code>pdb</code> is just not breaking there.</p>
  
  <p>I suspect that somehow the use of an egg is confusing <code>pdb</code> as to what files are being used (I can't reproduce the error if I use a non-egg'ed library, like <code>pickle</code>; there everything works fine).</p>
  
  <p>It's a shot in the dark, but has anyone come across this before?</p>