CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Debugging with Eclipse (gdb7.x bug)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 11, 2014, 07:18
Default Debugging with Eclipse (gdb7.x bug)
  #1
New Member
 
Join Date: Feb 2014
Posts: 24
Rep Power: 3
hajott is on a distinguished road
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 is offline   Reply With Quote

Old   February 17, 2014, 06:11
Default
  #2
New Member
 
Join Date: Feb 2014
Posts: 24
Rep Power: 3
hajott is on a distinguished road
Is nobody debugging OpenFOAM with Eclipse?
hajott is offline   Reply With Quote

Old   February 17, 2014, 09:37
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer - There are at least 2 threads on this topic:
  1. Eclipse for OpenFOAM
  2. OpenFoam 2.X and Eclipse Kepler
Have you read them?
wyldckat is offline   Reply With Quote

Old   February 18, 2014, 04:53
Default
  #4
New Member
 
Join Date: Feb 2014
Posts: 24
Rep Power: 3
hajott is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer - There are at least 2 threads on this topic:
1. Eclipse for OpenFOAM
Thank you. I hadn't read this one. I'll ask again in this thread.

This one is not (yet) about the gdb problems:
hajott is offline   Reply With Quote

Old   February 18, 2014, 06:36
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by hajott View Post
This one is not (yet) about the gdb problems:
Sorry about that... I always associate problems with Eclipse to GDB
wyldckat is offline   Reply With Quote

Reply

Tags
debug, eclipse, gdb

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gdbOF: A debugging Tool for OpenFOAM nisi OpenFOAM Announcements from Other Sources 10 July 16, 2015 05:21
OpenFoam 2.X and Eclipse Kepler x86_64leon OpenFOAM Programming & Development 14 September 6, 2014 19:28
OpenFoam & Eclipse gary7 OpenFOAM Programming & Development 4 March 19, 2012 12:29
Debugging in Eclipse carowjp OpenFOAM Programming & Development 1 October 1, 2011 16:06
OpenFOAM + Eclipse Svensson OpenFOAM 2 April 10, 2011 11:02


All times are GMT -4. The time now is 19:28.