Lee,

You could easily achieve your task by using the DEBUG TRACE
command.

All you have to do is to insert DEBUG TRACE command at the
beginning of any block of code you would like to debug.

Then, at the mighty R> prompt or in your development
environment startup command file, use the following:

SET DEBUG ON

Be advised that you would not use SET DEBUG ON command
in your production environment startup command file.

Basically, you need to precede any R:BASE command with
the DEBUG command to control the running of the command.

If your procedure involves FORMS, then you would need
to use [Ctrl] + [Shift] + [F11] will toggle the DEBUG flag.

Enjoy and make sure to have fun!

Very Best Regards,

Razzak.

At 10:17 AM 11/21/01 -0500, 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






===================================-============================
Official R:BASE List Server: mailto:[EMAIL PROTECTED]
RBTI Events/Training: http://www.rbase2000.com/events
R:DCC Members: http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================

Reply via email to