Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install mr.freeze

How to install mr.freeze

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install mr.freeze
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0a3 Available View build log
Windows (64-bit)
1.0a3 Available View build log
Mac OS X (10.5+)
1.0a3 Available View build log
Linux (32-bit)
1.0a3 Available View build log
Linux (64-bit)
1.0a3 Available View build log
Lastest release
version 1.0a3 on Jan 5th, 2011


This package allows one to perform various debugging and development actions on a running Zope instance. In order to perform an action one must:

1. Insert a command into a special control file. To determine which file to look in, mr.freeze will take the Zope pid file and replace the extension with '.freeze'. So in a typical buildout the control file would be var/instance.freeze 2. Send a USR1 signal to the Zope instance.

This pattern is intended to support integration with editors like TextMate and emacs, but that hasn't been implemented yet.


The following commands are currently supported in both debug and non-debug mode.

stack Will dump a stack backtrace for all threads to the console. (Default command if unable to read freeze file.)

pony Will dump a pony to the console.

The following commands are supported in debug mode only.

freeze Will drop Zope to a pdb debug prompt.

freeze [file] [line #] Will set a pdb breakpoint on the specified line.

The following commands are planned.

reload code Will reload code that has been modified.

reload zcml Will reload code and ZCML that has been modified.

Editor integration

Please see r82128 for some preliminary information regarding TextMate integration or watch the quick demo screen cast.


  • David Glick
  • Andreas Zeidler

Thanks to those who have helped provide the foundation for this package:

  • Products.signalstack: Wichert Akkerman
  • Products.PDBDebugMode: Ross Patterson
  • z3c.deadlockdebugger: Malthe Borch
  • DeadlockDebugger: Florent Guillaume
  • threadframe: Fazal Majid


1.0a3 (2009-03-19)
  • Fix the adjusted patch from 1.0a2 so that we actually return responses. :->

System Message: WARNING/2 (<string>, line 79)

Bullet list ends without a blank line; unexpected unindent.


1.0a2 (2009-03-19)
  • Be a little more careful about patching ZPublisher's call_object,

System Message: WARNING/2 (<string>, line 85)

Bullet list ends without a blank line; unexpected unindent.

so that we can coexist with PDBDebugMode.

  • Use canonical path of files passed to the freeze command.
  • Fixes for TextMate integration script.

System Message: WARNING/2 (<string>, line 90)

Bullet list ends without a blank line; unexpected unindent.


1.0a1 (2009-03-12)
  • Add script to help integrate with TextMate. Please see

System Message: WARNING/2 (<string>, line 97)

Bullet list ends without a blank line; unexpected unindent.

http://dev.plone.org/collective/changeset/82128 for some preliminary info. [witsch]

  • Initial release

System Message: WARNING/2 (<string>, line 101)

Bullet list ends without a blank line; unexpected unindent.


Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.