-- To start trace
Set Debug on
Trace

-- To stop Trace (I think)
Set debug off

Ben Petersen


On 21 Nov 2001, at 10:17, Lee Bailey wrote:

> Hello Everyone-
> 
> I often write nested command files, and during the debugging process only need to 
>trace the fourth or fifth program in the series, leaving the others alone.
> 
> So as to avoid going thru all of the command files using trace, to get to the one 
>that I need to debug, I use a couple of endif statements in a row, causing the code 
>to drop me to the R>, at which time I remove the two endif's and strictly run the 
>command file that I need to run.  This process 
is OK if the command file, in question, performs a given task, but is a little 
cumbersome if the command file causes different choices and outcomes to be made in the 
command file in question.  
> 
> Does R-Base already have this ability?
> 
> Is it possible to turn the debug on in the middle of a command file, and turn it off 
>a few code lines later?
> 
> Lee Bailey
> 
> Bailey & Associates
> E-Mail: [EMAIL PROTECTED]
> Phone: 954-659-1780
> Fax: 954-659-1781 
> 
> 


Reply via email to