Yeah, _traceback=1 is what I want! Is there any additional configurability? For example, can I just print the line number but not the variable space? (I probably missed the documentation.) Thanks, Rob On Wed, 26 Aug 2009, John E. Davis wrote: > 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 > >Received on Wed Aug 26 2009 - 13:38:11 EDT
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT