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/)
-   -   Debugging with Eclipse (gdb7.x bug) (http://www.cfd-online.com/Forums/openfoam-programming-development/129708-debugging-eclipse-gdb7-x-bug.html)

hajott February 11, 2014 07:18

Debugging with Eclipse (gdb7.x bug)
 
Hello,
I am trying to debug an OpenFOAM solver. I am using gdb-7.6.1 on the commandline without any problems.

I would like to use the Eclipse debugger as mentioned here:
http://openfoamwiki.net/index.php/Ho..._and_debugging

Unfortunately the debugger freezes, when controlled through Eclipse. The Wiki says "Please be careful choosing the right gdb version! In gdb 7.x a bug seems to occur while debugging and monitoring the variables." (http://openfoamwiki.net/index.php/Ho...lipse#Versions)

Have you been successful when debugging OpenFOAM with Eclipse?
Is it possible to use an older gdb version (gdb-6.8 as recommended in the Wiki) next to a recent gcc installation?

Regards

hajott February 17, 2014 06:11

Is nobody debugging OpenFOAM with Eclipse?

wyldckat February 17, 2014 09:37

Quick answer - There are at least 2 threads on this topic:
  1. http://www.cfd-online.com/Forums/ope...-openfoam.html
  2. http://www.cfd-online.com/Forums/ope...se-kepler.html
Have you read them? ;)

hajott February 18, 2014 04:53

Quote:

Originally Posted by wyldckat (Post 475322)
Quick answer - There are at least 2 threads on this topic:
1. http://www.cfd-online.com/Forums/ope...-openfoam.html

Thank you. I hadn't read this one. I'll ask again in this thread.

This one is not (yet) about the gdb problems:

wyldckat February 18, 2014 06:36

Quote:

Originally Posted by hajott (Post 475454)
This one is not (yet) about the gdb problems:

Sorry about that... I always associate problems with Eclipse to GDB :(


All times are GMT -4. The time now is 01:59.