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

Home » Public Forums » archive » Re: Reporting routines 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
Re: Reporting routines called [message #28692] Sat, 05 January 2002 22:56
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
Pavel Romashkin wrote:
>
> From: "JD Smith" <jdsmith@astro.cornell.edu>> If you use IDLWAVE
> (http://idlwave.org), you can just insert a
>> breakpoint and navigate the call stack with C-c C-d C-Up. This is even
>> nicer, because you can see the context of each call in the code itself,
>> print variables local to that stack level, etc.
>
> For those of us deprived of the luxury of using the Wave, you can resort
> also to inserting a breakpoint in the IDL DE and look up the call stack.
> Breakpoints in DE have nice features such as conditional breaking, breaking
> on the counter, etc.
> Good luck,
> Pavel
> P.S. I am afraid I will be forever deprived of the Wave mode because I can't
> stand the Xwindows interface that I used so far :(

I share your pain, Pavel, but you might be on a collision course with XWindows
if you stay with Mac, since the OS X version of IDL due out is hosted by an X11
server. Maybe then you could give IDLWAVE a try, on a suitable snazzy-looking
Emacs of course ;) :

http://emacs-on-aqua.sourceforge.net/

JD

P.S. IDLWAVE can do conditional/repeated breaks, etc. too.
Re: Reporting routines called [message #28694 is a reply to message #28692] Sat, 05 January 2002 07:18 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Gabe wrote:
>
> Hello,
>
> In IDL, is it possible to print out which routines are called during
> execution?
> I can print out all compiled routines using help, /routines. It would
> be very helpful to know which of these are called in which order.
>
> Thanks

Dear Gabe,

a keyword of help whil do this.

help,call=call
print,call

Reimar
--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
Re: Reporting routines called [message #28696 is a reply to message #28694] Fri, 04 January 2002 22:03 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
From: "JD Smith" <jdsmith@astro.cornell.edu>> If you use IDLWAVE
(http://idlwave.org), you can just insert a
> breakpoint and navigate the call stack with C-c C-d C-Up. This is even
> nicer, because you can see the context of each call in the code itself,
> print variables local to that stack level, etc.


For those of us deprived of the luxury of using the Wave, you can resort
also to inserting a breakpoint in the IDL DE and look up the call stack.
Breakpoints in DE have nice features such as conditional breaking, breaking
on the counter, etc.
Good luck,
Pavel
P.S. I am afraid I will be forever deprived of the Wave mode because I can't
stand the Xwindows interface that I used so far :(
Re: Reporting routines called [message #28700 is a reply to message #28696] Fri, 04 January 2002 15:31 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
"Pavel A. Romashkin" wrote:
>
> One way to do this is to use the Profiler. It doesn't print them but it
> does show them.
> Pavel
>
> Gabe wrote:
>>
>> Hello,
>>
>> In IDL, is it possible to print out which routines are called during
>> execution?
>> I can print out all compiled routines using help, /routines. It would
>> be very helpful to know which of these are called in which order.
>>
>> Thanks

Or try:

help,/traceback

If you use IDLWAVE (http://idlwave.org), you can just insert a
breakpoint and navigate the call stack with C-c C-d C-Up. This is even
nicer, because you can see the context of each call in the code itself,
print variables local to that stack level, etc.

Good luck,

JD
Re: Reporting routines called [message #28702 is a reply to message #28700] Fri, 04 January 2002 10:50 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
One way to do this is to use the Profiler. It doesn't print them but it
does show them.
Pavel

Gabe wrote:
>
> Hello,
>
> In IDL, is it possible to print out which routines are called during
> execution?
> I can print out all compiled routines using help, /routines. It would
> be very helpful to know which of these are called in which order.
>
> Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Can it be done?
Next Topic: xloadct & the event manager

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

Current Time: Wed Oct 08 17:09:56 PDT 2025

Total time taken to generate the page: 0.33714 seconds