CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How to activate debugging (http://www.cfd-online.com/Forums/openfoam-programming-development/92370-how-activate-debugging.html)

mirko September 12, 2011 16:34

How to activate debugging
 
Hi,

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

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

Thank you,

Mirko

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 13:53.