#module imports from fielddisplay import fielddisplay class debug: #properties def __init__(self): # {{{ Properties self.valgrind=False self.gprof = False #}}} def __repr__(obj): # {{{ Display string=" debug parameters:" string="%s\n\n%s"%(string,fielddisplay(obj,"valgrind","use Valgrind to debug (0 or 1)")) string="%s\n%s"%(string,fielddisplay(obj,"gprof","use gnu-profiler to find out where the time is spent")) return string #}}}