Debugging

From Church Wiki
Jump to: navigation, search

There are several flags which can be turned on in order to display information useful for debugging. Use (debug-mode 'flag true) within your Church program and one of the following flags:

  • global
  • trace-eval (displays trace nodes as they are created)
  • trace-update (displays trace nodes as they are re-evaluated)
  • init (displays information on MH initialization)
  • mh-steps (displays trace-walk and swap proposals and acceptance/rejection)
  • mh-statistics (displays proposal acceptance rates)
Personal tools