Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Introduction

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.

Commands

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.

Credits

  • 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

Changelog

1.0a3 (2009-03-19)

  • Fix the adjusted patch from 1.0a2 so that we actually return responses. :-> [davisagli]

1.0a2 (2009-03-19)

  • Be a little more careful about patching ZPublisher’s call_object, so that we can coexist with PDBDebugMode.

  • Use canonical path of files passed to the freeze command.

  • Fixes for TextMate integration script. [witsch]

1.0a1 (2009-03-12)

Release files for mr.freeze 1.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mr.freeze 1.0a3
File Size Uploaded
mr.freeze-1.0a3.tar.gz 6.5 kB Details

Release files / mr.freeze-1.0a3.tar.gz

Download URL mr.freeze-1.0a3.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
de54d436ae7fbcadab88493b56e7fc5a050b62228ad737f72138dc25462353a0
BLAKE2b-256 checksum
How to use checksums
26678c891391ce7ad119d07dccc8bfb30dc62ce7619a37b6e1b484bf2c317117
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0a3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page