If you use zc.buildout to
install eggs, it sometimes happens that you can't pdb into their code.
The reason for this is that the egg is built in a temporary directory and
then moved to its destination. During the build, setuptools creates .pyc
files which contain an absolute path reference to the original .py file.
Since it's done a temp directory, this reference will be outdated.
A quick fix is to simply remove all the .pyc files from the egg and have
them rebuilt automatically next time you use the package.