>> I mostly used kdbg which is a kde front-end to gdb. I would typically run
>> things through valgrind to find problem spots, and then put in breakpoints
>> in the relevant places in the code and step through carefully with the
>> debugger.
>
> I use ddd, another GUI interface for gdb.
Thanks Malcolm, It's good to have alternatives. I'll try that too.
>
> When building Matt you need remove the object modules, and rebuild with the CFLAGS (and FCFLAGS if calling Fortran routines too) including the -g option. Then to build and install I do this
>
> make "FCFLAGS=-g"; make install
>
> but you could configure with these flags set as environment variables
> or in your config.site. (See $STARLINK_DIR/etc/config.site). I think Tim builds with debugging switched on all the time.
That appears to be the default setting, which is handy for development. See $STARLINK_DIR/etc/configure.
|