Debuggers?

19 views
Skip to first unread message

Adam Nelson

unread,
Oct 13, 2015, 9:42:00 AM10/13/15
to OpenMC Development
Hi all,
 
Has anyone else noticed that GDB has really become ridiculously horrible with Fortran in the last 1-1.5 years?  It crashes all the time on even the simplest of operations (skipping a line, printing an integer, etc) in addition to its normal behavior of refusing to allow you access to the contents of an object.
 
If you have not seen it that is good information to as maybe there is something in the Arch Linux build config for gdb which makes mine horrible.
 
Are there any other options out there?  The intel debugger has merged with gdb via a plugin, and if I remember right is not any better.  I've also tried lldb and that has the same poor performance as GDB.
 
I use GDB in command line more, but that shouldn't matter since its the back-end for things like eclipse, etc, in Linux.
 
Thanks
Adam

Paul Romano

unread,
Oct 14, 2015, 11:08:34 PM10/14/15
to Adam Nelson, OpenMC Development
TotalView and Allinea DDT come to mind as products commonly cited as "good" debuggers, but they are both commercial so you will have to shell out some money. I'm not a heavy GDB user so can't really comment on the Linux issues you're having -- it sounds surprising though so perhaps it is something Arch-specific.

Adam Nelson

unread,
Oct 15, 2015, 8:22:43 AM10/15/15
to OpenMC Development, nels...@umich.edu
I hoped it was arch specific too, but I just looked at the official build script Arch uses and it seems pretty cookie cutter, and comparing to the GDB build instructions doesn't seem to be missing any useful options, and only really international-type options being different from the Debian package.  Color me confused.  It would be good to know if anyone else is running a recent (>7.8ish) gdb regularly and as a result has also been hitting their head against a wall repeatedly to soothe the pain.
Reply all
Reply to author
Forward
0 new messages