You are here: Home Articles Debuggers, Omelettes and Eggs

Debuggers, Omelettes and Eggs

Zipped eggs are a PITA during development, and so is a module where you can't step to because PDB does'nt find the source. Read on for a solution.

Ever had to debug some code and cursed zipped eggs because PDB can't step into zipped egg's code?

Ever cursed zipped eggs because they don't show up in your buildout's omelette part?

I did, too. Unitil i came across this post: http://rpatterson.net/blog/emacs-pdb-and-eggs

The solution is quite simple.

  1. delete all .pyc files in your buildout egg cache

  2. delete all zipped eggs in your egg cache

  3. add this to distutils config file $HOME/.distutils.cfg:

    [easy_install]
    zip_ok = 0
    
  4. re-run your buildout

Presto!

Document Actions