Re: isis debugging info

From: John E. Davis <davis_at_email.domain.hidden>
Date: Wed, 26 Aug 2009 13:31:44 -0400
rrg11_at_email.domain.hidden> When I get an error like "Unable to typecast Array_Type to
> String_Type", I'd like to see where that error occurred.  Is there a
> way to get the script line number of that error?

You can see the debugging options by running isis via:

   isis --help

Among other things it shows:

     --sldb [FILE]  Invoke S-Lang debugger
     --sldb-isis    Invoke S-Lang debugger on isis internals
     --prof [FILE]  Invoke S-Lang profiler on FILE

These options can be quite useful when developing scripts.  It also
shows:

      -g            Compile with debugging info

Perhaps the easiest thing to do would be to invoke isis with -g and
then set the _traceback variable.

   $ isis -g
   isis> _traceback=1;

John, should -g also result in _traceback=1 in interactive mode?

Thanks,
--John
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Wed Aug 26 2009 - 13:31:45 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT