comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: dependency tree / call graph in idl (cscope for idl)?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: dependency tree / call graph in idl (cscope for idl)? [message #63671] Wed, 19 November 2008 08:14 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sven Utcke writes:

> what's the recommended way to do dependency tracking in IDL, you know,
> FUNCTION X depeneds on PRO Y which calls FUNCTIONs A, B, and C. That
> stuff. Preferably, but not necessarily from emacs?
>
> In C, I would for example use cscope <http://cscope.sourceforge.net/>.
>
> Reason I'm asking: I inherited a project with quite a few
> interdependent files (79 files so far, with 14000 lines, but I'm sure
> to find I missed some once dependency tracking works), and in order to
> get any idea at all what this is doing I would like to look at some
> sort of call graph.
>
> So what is the IDL-way of doing this?

Whew! Don't you just hate it when someone comes to IDL for
the first time from a modern programming language. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: dependency tree / call graph in idl (cscope for idl)? [message #63804 is a reply to message #63671] Wed, 19 November 2008 10:24 Go to previous message
Sven Utcke is currently offline  Sven Utcke
Messages: 10
Registered: October 2007
Junior Member
David Fanning <news@dfanning.com> writes:

> Sven Utcke writes:
>
>> what's the recommended way to do dependency tracking in IDL, you know,
>> FUNCTION X depeneds on PRO Y which calls FUNCTIONs A, B, and C. That
>> stuff. Preferably, but not necessarily from emacs?
>>
>> In C, I would for example use cscope <http://cscope.sourceforge.net/>.
[...]
>> So what is the IDL-way of doing this?
>
> Whew! Don't you just hate it when someone comes to IDL for
> the first time from a modern programming language. :-(

Well, cscope is from the early 1980's --- I didn't even dare aks for a
proper code browser, as you get with all these modern, newfangled
languages :-)

Sven
--
___ _ _____ ___ Dr.-Ing. Sven Utcke ___ ___ _____ __
/ __| |/ / __| __| phone: +49 40 899-8-5317 | \| __/ __\ \ / /
| (_ | ' <\__ \__ \ fax : +49 40 899-4-5317 | |) | _|\__ \\ V /
\___|_|\_\___|___/ http://www.desy.de/~utcke (to come)|___/|___|___/ |_|
Re: dependency tree / call graph in idl (cscope for idl)? [message #63820 is a reply to message #63671] Wed, 19 November 2008 08:20 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
David Fanning wrote:
> Sven Utcke writes:
>
>> what's the recommended way to do dependency tracking in IDL, you know,
>> FUNCTION X depeneds on PRO Y which calls FUNCTIONs A, B, and C. That
>> stuff. Preferably, but not necessarily from emacs?
>>
>> In C, I would for example use cscope <http://cscope.sourceforge.net/>.
>>
>> Reason I'm asking: I inherited a project with quite a few
>> interdependent files (79 files so far, with 14000 lines, but I'm sure
>> to find I missed some once dependency tracking works), and in order to
>> get any idea at all what this is doing I would like to look at some
>> sort of call graph.
>>
>> So what is the IDL-way of doing this?
>
> Whew! Don't you just hate it when someone comes to IDL for
> the first time from a modern programming language. :-(

This task may not even be *feasible* if the program does not
consistently use square brackets for array!

Ciao,
Paolo

>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Catalyst Library
Next Topic: Re: Philosophical Question about NAN

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:02:55 PDT 2025

Total time taken to generate the page: 0.02874 seconds