Contributed By: Christopher Willmot [email protected]
Submitted On: 01/03/99
Did you know that you can insert debugging details into the log file? For example:
WriteLn><logfile>,var = %var%
This shows that the value of the variable 'var' at that particular stage.
Also, once the log file is set up, turning logging off doesn't disable the 'View Log File' command.
You then have complete control over what is recorded, with the bonus of easy viewing!
[Editors note : Macro Scheduler 5.03 will have a further debug command called TimeStamp which will output the given message to a file just as the example above does, but will also insert the time with milliseconds so that you know exactly when the step took place]
Script Debugging Tip
Moderators: Dorian (MJT support), JRL, Phil Pendlebury
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact: