CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Debug OpenFAM applications with ddd (

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


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


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 19:28.