Welcome Guest

Pages: 1
How to log information when an action is run?
Gary-SwiftPostJune 2, 2025, 04:44
Advanced
Posts: 70
Registered:
April 29, 2014, 06:12
Normal topicHow to log information when an action is run?

This is intended to be be used for debugging.

Sometimes I create action that does not work as intended.

Can I add log statements at various points in the flow control so that I see see the log outputs as the action runs?

2MR2PostJune 2, 2025, 07:15
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicHow to log information when an action is run?

There is the Debug statement and breakpoints. Once either it encountered, you can view all variables and most fields.

The Prompt statement can also log data to the system console (not recommended as the messages are not trivial to extract). The Prompt statemnent can also be used to log data to a file of your choosing pr a default location. While logging is useful, I fund the Debug/breakpoint methods easier to get quick results.

Use Help>Search Yate Help and search for Debugging Actions.

The logging is described in the help for the Prompt statement.

Gary-SwiftPostJune 2, 2025, 15:30
Advanced
Posts: 70
Registered:
April 29, 2014, 06:12
Normal topicHow to log information when an action is run?

Nice. Prompt > 'Show in Log Viewer' is what I was looking for. Thank you.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.024 seconds.