The Genero Web Client for JavaScript (GWC-JS) log player allows you to play back a
session log in the browser.
You can use the log player feature to:
- debug your applications
- create a demo
What is logged? Only the interaction between the front-end and the DVM is recorded and replayed,
so the runtime system is not needed when you replay your log.
Important: What is not
logged?
- Images and resources are not taken into account during the replay.
- All user "local actions", such as copy, paste, and so on, are not saved and replayed. For
example, only the sent value of a field is saved.
Tip: The Genero Desktop Client (GDC) has a logging feature similar to the
Log Player. For more information see the Using the Logging System topic in the
Genero Desktop Client User Guide.
Before you begin: Set the
CATEGORIES_FILTER in the
LOG element to
ALL DEBUG in your GAS configuration file,
FGLASDIR/etc/as.xcf.
For example,
Change:
<CATEGORIES_FILTER>$(res.log.categories_filter)</CATEGORIES_FILTER>
To:
<CATEGORIES_FILTER>ALL DEBUG</CATEGORIES_FILTER>
If
you see this message in the debug frame after opening the log file, set the categories
filter.
Log fields missing. Enable "ALL DEBUG" categories
If you make changes
to the GAS configuration file, you need to restart the GAS by stopping and starting the dispatcher,
Dispatcher: httpdispatch.
Other available options in the log player menu are:
- The "Delay between orders" field indicates how long the log player waits between two DVM
instructions, or "log steps". Change this delay with the Delay between orders
(ms). This can be used to speed up or slow down the replay.
- The Reset icon allows you to restart the log.
- The Next Step icon replays the application log one step at a time.
- The Forward icon allows you to fast forwards through the log. You set the
number of steps to "jump" ahead. Use this to go to a specific location of the log file when
replaying.