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

Home » Public Forums » archive » how to stop a procedure in idlwave
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
how to stop a procedure in idlwave [message #44629] Thu, 30 June 2005 07:49
Jess is currently offline  Jess
Messages: 11
Registered: June 2005
Junior Member
Hi All,

I know this is a basic question, but I am having trouble stopping IDL
procedures in IDLwave. In a normal IDL shell I found I could stop a
running procedure by typing fullstop and C-c. I do this quite often,
and find that I use it to examine variables in the subroutine that is
currently being run or to fix a section before re-running. Sometimes
this is in the middle of a loop, other times it is when IDL is waiting
for user input at a read command.

str = ''
read,str,prompt='Enter string: '

Running the same code in IDLwave I find it very difficult to stop a
program and get back to an idl shell prompt. I've tried C-c C-z, and
C-c C-c, to no avail. In the end I often have to kill the entire idl
session within idlwave with C-c C-\.

I know I can enter 'stop' in the code, at which point it will stop on
re-run. But I would much rather an interactive, rather than pre-coding
a stop command which requires anticipating where I will need to make
amendments. Waiting til the program completes before making amendments
can be quite some time, so I'd rather not do that either.

Sorry I haven't already figured this out.
Thanks,
Jess

nb: Usually I run a batch program that compiles all the procedures and
functions I need and then runs the top-level program.
[Message index]
 
Read Message
Previous Topic: printf formatting
Next Topic: Map_Grid

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

Current Time: Sun Oct 12 08:10:46 PDT 2025

Total time taken to generate the page: 0.41648 seconds