Re: Debugging
- From: "Chris Hulbert" <cchgroupmail@xxxxxxxxx>
- Date: 29 Jul 2005 04:45:32 -0700
jg wrote:
> Hi,
>
> I am trying to debug a program using DDD/GDB, however I am unable to
> step into subroutines/functions that are contained within modules, or
> display any variables contained within functions.
>
> I am using DDD version 3.3.1, the code has been built with ifc version
> 7.1
>
> The contained procedures are all in seperate source files, however when
> I do a listing of available source code from within DDD none of these
> show up, all that shows up is the top level source files containing the
> module definition.
>
> Any help/advice appreciated.
>
> Jon
I have had similar problems. Part of it seemed to be that gdb didn't
automatically pick up the directory where the source was like it did my
C-files. I manually added it with the directory command in gdb. Also,
as other posts have said, make sure you compile ALL sources with -g.
And for fortran, everything must be in lowercase no matter how it's
written in the source.
.
- Follow-Ups:
- Re: Debugging
- From: jg
- Re: Debugging
- References:
- Debugging
- From: jg
- Debugging
- Prev by Date: Re: Debugging
- Next by Date: How can I link against a VF dll with IFC?
- Previous by thread: Re: Debugging
- Next by thread: Re: Debugging
- Index(es):
Relevant Pages
|