Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What type of debugging tools are there for the macro language?

0
Posted

What type of debugging tools are there for the macro language?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123