SCons.Debug

Package SCons :: Module Debug |
[hide private]
[frames] | no frames]

# Module Debug

source code

SCons.Debug

Code for debugging SCons internal things. Not everything here is guaranteed to work all the way back to Python 1.5.2, and shouldn't be needed by most users.

Functions | [hide private]
logInstanceCreation(instance, name=False) | source code
string_to_classes(s) | source code
fetchLoggedInstances(classes=`'``*``'`) | source code
countLoggedInstances(classes, file=sys.stdout) | source code
listLoggedInstances(classes, file=sys.stdout) | source code
dumpLoggedInstances(classes, file=sys.stdout) | source code
memory() | source code
caller(*backlist) | source code
dump_caller_counts(file=sys.stdout) | source code
func_shorten(func_tuple) | source code
Trace(msg, file=False, mode=`'``w``'`) Write a trace message to a file. | source code

Variables | [hide private]
| __revision__ = ``'``src/engine/SCons/Debug.py 2725 2008/03/31 12:5``...``
| tracked_classes = ``{``'``Action.CommandAction``'``:` `[`<weakref at 0x121c`...``
| caller_dicts = ``{``}``
| shorten_list = ``[``(``'``/scons/SCons/``'``,` 1`)``,` `(``'``/src/engine/SCons/``'``,` 1`...``
| TraceFP = ``{``}``
| TraceDefault = ``'``/dev/tty``'``

Function Details | [hide private]

### Trace(msg, file=False, mode=`'``w``'`) | source code
Write a trace message to a file. Whenever a file is specified, it becomes the default for the next call to Trace().

Variables Details | [hide private]

  ### __revision__ Value:
      'src/engine/SCons/Debug.py 2725 2008/03/31 12:52:02 knight'

  ### tracked_classes Value:
      {}

  ### shorten_list Value:
      [('/scons/SCons/', 1),
       ('/src/engine/SCons/', 1),
       ('/usr/lib/python', 0)]