CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Debug OpenFAM applications with ddd (http://www.cfd-online.com/Forums/openfoam/60941-debug-openfam-applications-ddd.html)

shrina January 12, 2007 04:08

Hi all, could anyone tell m
 
Hi all,

could anyone tell me what I have to do to debug my OpenFOAM applications with ddd (that has a graphical interface)?
Could you please tell me in detail all the changes I have to do and how to launch it?
Thank you very much in advance

Miriam

mattijs January 16, 2007 14:26

In order of complexity: 1.
 
In order of complexity:

1. have a look at using valgrind instead.
2. compile your application with

-g -O0 -DFULLDEBUG

Search this forum on how to do this.

3. set your WM_COMPILE_OPTION in .OpenFOAM-1.3/bashrc to Debug and recompile the whole of OpenFOAM. This will compile everything with debug info.


All times are GMT -4. The time now is 13:03.