skip to navigation
skip to content

Products.Ienablesettrace 1.0

Fork of Products.enablesettrace which also allows import of ipdb in restricted code.

Downloads ↓

Introduction

To make a long story short: sometimes you need to break into the debugger in the middle of a Script (Python). To prevent the frustrating Unauthorized: import of 'pdb' is unauthorized message, use this enablesettrace package.

This package supports importing the pdb and ipdb module. It is a fork of the Products.enablesettrace package.

Installation

The installation is as simple as making sure the package is located on the Python path. For example when you are using zc.buildout list Products.Ienablesettrace in the eggs section:

[buildout]
...
eggs =
    ...
    Products.Ienablesettrace

Credits

This code was originally contributed by Zach Bir and committed by Jim Fulton. Mark van Lent eggified the product.

Changelog

1.0 (2010-05-30)

  • Forked Products.enablesettrace version 0.2 and changed name to Products.Ienablesettrace since the former will have the added inclusion of ipdb removed in the next release. [markvl]

0.2 (2010-04-02)

  • Also allow import of ipdb. [markvl]

0.1 (2010-04-02)

  • Initial release: eggified version of Products.enablesettrace as stored in the Zope Subversion Repository.
 
File Type Py Version Uploaded on Size # downloads
Products.Ienablesettrace-1.0.tar.gz (md5) Source 2010-05-30 3KB 375
Products.Ienablesettrace-1.0.zip (md5) Source 2010-05-30 8KB 517