Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to restore the DEBUGOUT accurately?
Message
From
20/01/2009 04:10:02
 
 
To
19/01/2009 17:59:30
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01375106
Message ID:
01375376
Views:
6
>Howdy.
>
>When you restore it you'd have to use the Additive clause every time in order to make it work properly. If you dont then anything that had been written to the logs before you switched it off will be lost. Additive basically means that the current content of the log file is not to be destroyed, which will always be what you want if you are trying to set things back the way that they were.
>
>Ian Simcock.
>
>
>>Hi,
>>
>>The SET() function only gives the filespec of
>>
>>SET DEBUGOUT|COVERAGE TO filespec [ADDITIVE]
>>
>>but it won't tell me whether the ADDITIVE clause is used or not used...
>>
>>Is there no chance for me to save and restore accurately the DEBUGOUT and COVERAGE settings, taken into account the ADDITIVE clause?

IMO, the ADDITIVE clause is optional because we sometime need to omit it.
If I always SET DEBUGOUT with the ADDITIVE clause, then I got no way to wipe whatever captured in the file and start all over again, unless I change to another output file (which I normally won't want to).

In fact, I don't have problem understanding how to use the SET command with respect to the ADDITIVE clause, my concern is to know how (or it is possible) I can programmatically determine whether or not the ADDITIVE clause is used in the last execution of the either of the above commands.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform