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

Module Debug

source code


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=None) source code
string_to_classes(s) source code
fetchLoggedInstances(classes='*') source code
countLoggedInstances(classes, file=sys.stderr) source code
listLoggedInstances(classes, file=sys.stderr) source code
dumpLoggedInstances(classes, file=sys.stderr) source code
memory() source code
caller_stack(*backlist) source code
caller_trace(back=0) source code
_dump_one_caller(key, file, level=0) source code
dump_caller_counts(file=sys.stderr) source code
func_shorten(func_tuple) source code
Trace(msg, file=None, mode='w', tstamp=None)
Write a trace message to a file.
source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/ 5110 2010/07/25 16:1...
  tracked_classes = {}
  caller_bases = {}
  caller_dicts = {}
  shorten_list = [('/scons/SCons/', 1), ('/src/engine/SCons/', 1...
  TraceFP = {}
  TraceDefault = '/dev/tty'
  TimeStampDefault = None
  StartTime = 1280100022.94
  PreviousTime = 1280100022.94
  __package__ = 'SCons'
Function Details [hide private]

Trace(msg, file=None, mode='w', tstamp=None)

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]


'src/engine/SCons/ 5110 2010/07/25 16:14:38 bdeegan'


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