Probing Objects¶
Serialized objects are created by your module at run time, with the
properties autoplay2c read from the project. With a2c probe you can check that they come out the
same as the objects AutoPlay Media Studio creates itself.
| Option | Description | Required |
|---|---|---|
-o\|--output |
The probed copy of the project to write | Yes |
--log |
The log file the pages write to, as a full path on the machine that runs the project | Yes |
The probed copy is your project with one addition: whenever a page or dialog is shown, it appends every object's properties to the log, including the items of list boxes and combo boxes and the nodes of trees.
Comparing a Build With the Original¶
-
Make a probed copy of your project:
-
Build the probed copy with serialized objects:
-
Open
probe.autoplayin AutoPlay Media Studio, preview it, and visit every page and dialog. Then renameC:\Temp\objects.txttooriginal.txt. - Open
probe.a2c.autoplay, preview it, and visit the same pages and dialogs. Its log,C:\Temp\objects.txtagain, now holds the serialized objects. - Compare
original.txtwithobjects.txtin any text compare tool.
The logs only differ where a serialized object lost or changed something. If you find a
difference, you can leave that object (or its kind) in the project with --exclude-object or
--exclude-kind. Please let us know about it as well, so it can be fixed.