API Reference for Enthought Tool Suite 3.0.1
Break points which perform an action but do not stop execution:
action_bp_types = ('Trace', 'Print', 'Log', 'Patch')
BPType = Enum('Breakpoint', 'Temporary', 'Count', 'Trace', 'Print', 'Log', 'Patch')
last_file = ''
last_line = -Const(1)
last_locals = { }
Template for 'Log' break point code:
logger_template = """import logging logger = logging.getLogger(__name__) logger.debug( "%s: %%s" %% (%s) ) """
NoMatch = NoMatch()
Returns whether there is an effective (active) breakpoint at this line of code.
| Local name | Refers to |
|---|---|
| Any | enthought.traits.trait_types.Any |
| basename | os.path.basename |
| Enum | enthought.traits.trait_types.Enum |
| false | enthought.traits.trait_types.false |
| File | enthought.traits.trait_types.File |
| HasPrivateTraits | enthought.traits.has_traits.HasPrivateTraits |
| Int | enthought.traits.trait_types.Int |
| os | os |
| Property | enthought.traits.traits.Property |
| read_file | enthought.developer.helper.read_file.read_file |
| Str | enthought.traits.trait_types.Str |
| sys | sys |
| true | enthought.traits.trait_types.true |
| types | types |
© Copyright 2002-2008 Enthought, Inc.