Skip to content

Debugging

KateBrodie edited this page Jan 20, 2017 · 1 revision

cBathy contains a suite of algorithms and will run even when presented with random data (although nan’s will be returned). So when the program returns results that don’t seem sensible, it is important to have a suite of good debugging tools and to understand the nature or and evidence for possible failure modes. Debugging for phase 1 computations is controlled by a series of debug flags in the settings file. The first flag, production, is a master switch. If set to 1 (true), no further debugging will be done. If set to 0, the remaining five flags and parameters determine the debugging actions.