CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   How to activate debugging (

mirko September 12, 2011 16:34

How to activate debugging

In many places in the code, there is a code of the type

if (debug) {...}
How can I turn on the debug flag? I tried setting it in the system/controlDict, but to no avail.

Thank you,


deepsterblue September 12, 2011 17:12

Set the debug switches in etc/controlDict, and re-source your bashrc.

All times are GMT -4. The time now is 09:52.