What type of debugging tools are there for the macro language?
The best debugging tool is probably the “LOGGING” macro command. You can run it at the command line, or place it at a strategic location inside your macro. Typically, you first turn logging on to record everything that occurs to a text file. Then you turn logging off and examine the text log file for errors. An example is: LOGGING 1,”C:\temp\log.txt”,1,1,1,1,1 folowed by LOGGING 0. Another useful technique is to place “PRINT”, “SLEEP”, or “ALERT” commands at strategic points in your macro, especially if you have a hint where the error is occurring.