User interface basics / Connecting to a GUI front-end |
GUI protocol exchanges can be logged to a file with the --start-guilog=filename option of fglrun, and replayed with the --run-guilog=filename option.
This feature can be used to log .
The options take the log file as parameter:
UNIX™ (shell) example:
$ fglrun --start-guilog=mylog.txt myprogram
When the program is started, all user interaction and AUI tree updates will be logged to the file specified by the --start-guilog option.
The log file can then be replayed with the --run-guilog option, to mimic the user interaction, and reproduce potential issues:
$ fglrun --run-guilog=mylog.txt