KB-33027: Debugging scripts in E3.

Question:

How can scripts be debugged in E3?

Solution:

If the script is executed in the Viewer, you can use the MsgBox’s Message command.

If the script is executed in the Server, you can use Application.Trace “Message” command.  With this method, the message is automatically added to a TXT file, which is created in the application’s directory with the same name of the domain, instead of being displayed on screen.

Note: Since its version 5.0.61, the Application.Trace method is also available in Studio and in Viewer and that message is registered in E3 logs. In E3Run this method keeps recording messages in Domain’s log files, in the format < DomainName >.txt, but also registers that message in E3 logs.
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *