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

Home » Public Forums » archive » DXDEBUG - command line debugging
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
DXDEBUG - command line debugging [message #19850] Tue, 18 April 2000 00:00
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Here is DXDEBUG, my shot at an improved command line debugging
package.

http://cow.physics.wisc.edu/~craigm/idl/idl.html (under Miscellaneous)


Command line debugging with IDL has always been difficult. It does
provide excellent abilities to interactively query and set variables,
but only at one level -- the deepest level. Generally, when debugging
a larger suite of programs one can have procedures and functions that
nest several levels deep. Since one procedure can call another, or
even itself, this is a natural effect. If an error occurs in a
procedure several levels deep, knowing the values of variables at
higher levels (i.e., the calling routines) can be useful and time
saving. Unfortunately IDL has no documented provisions for doing
this.

The procedures in the package supply convenience routines for
navigating up and down the IDL call stack (DXUP and DXDOWN); for
interogating and modifying IDL variables at any levels in the call
stack (DXHELP, DXPRINT, DXGET, DXSET); and for quickly setting and
clearing breakpoints (DXBREAK, DXFINISH and DXCLEAR). The package is
based upon invaluable discussions about the undocumented
ROUTINE_NAMES() function on the comp.lang.idl-pvwave Usenet newsgroup.

Craig



--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Visualization Development Environments 2000
Next Topic: Built-in date / time routines

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

Current Time: Fri Oct 10 00:26:28 PDT 2025

Total time taken to generate the page: 0.16043 seconds