Last change
on this file since 12004 was 12004, checked in by cborstad, 13 years ago |
merged trunk-jpl into trunk-jpl-damage through revision 11990
|
File size:
464 bytes
|
Line | |
---|
1 | #module imports
|
---|
2 | from fielddisplay import fielddisplay
|
---|
3 |
|
---|
4 | class debug:
|
---|
5 | #properties
|
---|
6 | def __init__(self):
|
---|
7 | # {{{ Properties
|
---|
8 | self.valgrind=False
|
---|
9 | self.gprof = False
|
---|
10 | #}}}
|
---|
11 | def __repr__(obj):
|
---|
12 | # {{{ Display
|
---|
13 | string=" debug parameters:"
|
---|
14 |
|
---|
15 | string="%s\n\n%s"%(string,fielddisplay(obj,"valgrind","use Valgrind to debug (0 or 1)"))
|
---|
16 | string="%s\n%s"%(string,fielddisplay(obj,"gprof","use gnu-profiler to find out where the time is spent"))
|
---|
17 | return string
|
---|
18 | #}}}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.