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

Module Debug

source code


Code for debugging SCons internal things. Shouldn't be needed by most users. Quick shortcuts:

from SCons.Debug import caller_trace caller_trace()

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() source code
Trace caller stack and save info into global dicts, which are printed automatically at the end of SCons execution.
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. Whenever a file is specified, it becomes the default for the next call to Trace().
source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/ 74b2c53bc42290e911b3...
  track_instances = False
  tracked_classes = {}
  caller_bases = {}
  caller_dicts = {}
  shorten_list = [('/scons/SCons/', 1), ('/src/engine/SCons/', 1...
  TraceFP = {}
  TraceDefault = '/dev/tty'
  TimeStampDefault = None
  StartTime = 1510694455.44
  PreviousTime = 1510694455.44
  __package__ = 'SCons'
Variables Details [hide private]


'src/engine/SCons/ 74b2c53bc42290e911b334a6b44f187da698a668 20\
17/11/14 13:16:53 bdbaddog'


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