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

Home » Public Forums » archive » how to tell if a program has been called?
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
how to tell if a program has been called? [message #86200] Thu, 17 October 2013 06:48 Go to next message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
Hello,


I have an IDL program that calls a few dozen functions and procedures out of a huge library.

Is there some sort of journal command or something that will record which functions/procedures were called?

Example:

pro junk,xxx
x=findgen(100)

a=sub_one(x)
b=sub_two,a,x
c=sub_three,a,x,b

print,c

return
end



When I run junk, I'd like a record of some sort that procedures/functions sub_one, sub_two, and sub_three were called.

My apologies if this is a dumb question but I haven't been able to find this information in the group or in the documentation.

Thanks,

Mark
Re: how to tell if a program has been called? [message #86201 is a reply to message #86200] Thu, 17 October 2013 06:52 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi,

On 10/17/2013 03:48 PM, M Q wrote:
> Is there some sort of journal command or something that
> will record which functions/procedures were called?

You should check the profiler:

http://www.exelisvis.com/docs/PROFILER.html

You will be surprised when you'll see "which functions/procedures were
called" ;-)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RGB Triangle of Colors.
Next Topic: dialog_message leads to segmentation fault

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

Current Time: Wed Oct 08 15:07:41 PDT 2025

Total time taken to generate the page: 0.00405 seconds