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

Home » Public Forums » archive » Re: Possible to get name of current procedure from within procedure?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Possible to get name of current procedure from within procedure? [message #70818] Tue, 11 May 2010 11:40 Go to previous message
robparker23 is currently offline  robparker23
Messages: 10
Registered: March 2009
Junior Member
On 11 May, 14:53, pp <pp.pente...@gmail.com> wrote:
> On May 11, 10:42 am, Rob <robparke...@googlemail.com> wrote:
>
>> I'm not sure if this question even makes sense but what I was
>> wondering is does IDL have any sort of function or variable that can
>> output the name of the procedure/function that is currently being
>> executed?
>
> scope_traceback() gives you the entire call stack.

Thanks. I found an old reference on here to help, calls=stacks which
(although deprecated) does what I want to do.

>> Ultimately this would be something we'd add to all of our modular
>> procedures in order to monitor performance and see how fast each
>> module was running.
>
> This sounds a lot like what the profiler does.

I'm a bit embarrassed to admit that I'd never heard of the profiler
tool before. I've just read up on it on David's site and will
certainly give it a test out. Thanks :-)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: LV Handbags ((http://www.jialiuonline.com
Next Topic: Re: Tips for IDL-istic file transfer...? Please help me.

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

Current Time: Wed Oct 08 15:19:52 PDT 2025

Total time taken to generate the page: 0.00400 seconds