Package peppy :: Module debug
[frames] | no frames]

Module debug

Debug mixin and debug printing based on class hierarchy.

NOTE: inspect.stack() is used to determine the class hierarchy at runtime. When using py2exe this call takes a very long time, on the order of tenths of seconds! So, beware to turn off most debug printing when deploying the application.

Classes
  debugmixin
Functions
 
debuglog(file)
 
errorlog(file)
 
dprint(str='')
 
eprint(str='')
 
get_all_objects(subclassof=None)
Return a list of all live Python objects, not including the list itself.
 
get_all_referrers(subclassof=None)
 
traceon()
 
traceoff()
 
storeWeakref(place, obj)
 
printWeakrefs(place, detail=True)