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

Home » Public Forums » archive » Re: IDL excels in debugging??? Do you know something I dont?
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: IDL excels in debugging??? Do you know something I dont? [message #4261 is a reply to message #4259] Thu, 18 May 1995 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
> The most useful debugging technique (other than the good ole PRINT statement)
> I know of is the following 2 line routine, offered to me once by
> rep2857@sbsun0010.sbrc.hac.com (Mike Schienle)
>
> ; BREAK.PRO: a "debugging" routine. it always causes an error. Period.
> ; A call to 'break' in IDL will break IDL and return to the routine
> ; which called it, allowing you to examine all variables' values at
> ; the point it was called. There is generally no way to continue execution,
> ; you must "RETALL & XMANAGER" (aargh!). R. Welti; from M.Schienle
>
> PRO
> END
>
> In fact, I would love to read a discussion of what other people are using
> for debugging techniques / tools.

Why not just use the STOP statement in your routine? It stops IDL, leaving you
at the command line, allowing you to examine all variables' values, etc.
without generating the error. Once you are done examining variable, etc. you
can continue on by just typing .CON.

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
[Message index]
 
Read Message
Read Message
Previous Topic: Reading IEEE floating point on DEC OpenVMS
Next Topic: Wrong about keyword param as output var.

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

Current Time: Tue Dec 02 18:36:07 PST 2025

Total time taken to generate the page: 0.08150 seconds