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

Module Debug

source code

SCons.Debug

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=<epydoc.docintrospecter._DevNull object>) source code
 
listLoggedInstances(classes, file=<epydoc.docintrospecter._DevNull object>) source code
 
dumpLoggedInstances(classes, file=<epydoc.docintrospecter._DevNull object>) source code
 
memory() source code
 
caller_stack() source code
 
caller_trace(back=0)
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=<epydoc.docintrospecter._DevNull object>) 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/Debug.py 3a41ed6b288cee8d0853...
  track_instances = False
  tracked_classes = {}
  caller_bases = {}
  caller_dicts = {}
  shorten_list = [('/scons/SCons/', 1), ('/src/engine/SCons/', 1...
  TraceFP = {}
  TraceDefault = '/dev/tty'
  TimeStampDefault = None
hash(x)
  StartTime = 1548264688.44
  PreviousTime = 1548264688.44
  __package__ = 'SCons'
Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Debug.py 3a41ed6b288cee8d085373ad7fa02894e1903864 20\
19-01-23 17:30:35 bdeegan'

shorten_list

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