Changes

Jump to: navigation, search

Debugging Gramps

No change in size, 11:32, 2 November 2014
m
Add debug statements
Gramps is run with the optimize flag.
python -O grampsGramps.py
This gives you the option of adding debug statements. You can use the __debug__ variable or the assert statement for this. This allows us to add code to Gramps that will be printed out when Gramps runs without the optimize flag:
python grampsGramps.py
More info: [http://docs.python.org/reference/simple_stmts.html#the-assert-statement]

Navigation menu