Re: Debugging



On 2005-07-29, jg <jon.gill@xxxxxxxxxxxxxxxx> 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.

IIRC I once had this problem with f95 NAGWare compiler and the upsf95 debugging
tool. The reason for my problem was that i only compiled the main program
using the `-g' flag, not the source files containing the modules that got USEd
in the main program.

Maybe in your build, you forgot to add the flag that adds debug
information to the compilation of the module source files?

Regards,
Bart

--
"Share what you know. Learn what you don't."
.



Relevant Pages

  • Re: Release Configuration in Managed C++ does not suppress Debug Class
    ... add the /d:DEBUG flag to the compiler command ... methods of Debug. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: ASP .NET 2.0 Unanswered questions...
    ... in both 1.1 and 2.0 there are two types of source files. ... version 1.1 of asp.net in order to support inline server script, generated source code for the page, then called the desired compiler to build a dll. ... if the aspx pages are all empty then your site was precompiled for all the aspx pages and has been batched into dll's. ... again in version 2.0 the only difference between web sites and web application is the handling of the code behind files compilation and in the case of a web applications the existence of a project file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SHMENUBARINFO not defined says compiler - aygshell.h defined
    ... group that supports the SDK for the desktop. ... After I add "/c" to the compiler options, i get the following and i have no ... which is used when compiling the source files. ... > Microsoft Mobile and Embedded Devices Developer Support ...
    (microsoft.public.pocketpc.developer)
  • Request for feedback: proposed new modules to aid VHDL projects
    ... Performs a minimal recompile of a VHDL project using ModelSim, ... only those design units which have changed, and those which depend on them. ... * Feeds source files through a preprocessor if wanted (preprocessors are ... References any compiler errors back to the correct source file and line ...
    (comp.lang.perl.modules)
  • Request for feedback: proposed new Perl modules to aid VHDL projects
    ... Performs a minimal recompile of a VHDL project using ModelSim, ... only those design units which have changed, and those which depend on them. ... * Feeds source files through a preprocessor if wanted (preprocessors are ... References any compiler errors back to the correct source file and line ...
    (comp.lang.vhdl)