Using Action and Rule Debug Logging on the Client

(Android only) As an app designer, you can use the Action and Rule Debug logging feature in Agentry Test Environment (ATE) to obtain a debug logging file for an Android release client.

Context

The app designer and release client user work together to obtain the debug logging data from the release client. The app designer specifies what to log from the ATE environment and downloads the generated Debug.xml file to the release client. The user then performs the operation on the release client to capture log information in a Debug.log file. The app designer accesses the resulting log file and analyzes the data.

Procedure

  1. (App Designer) From the Agentry Test Environment, specify what to log, as described in Selecting Debug Log Options. Select the pertinent actions and rules.

    The generated Debug.xml file is created in the editor's workspace Test Environment folder for the open project.

  2. (App Designer) Copy the generated Debug.xml file to the release client. The Debug.xml file must be placed in the database export directory, which is the same location where an exported Agentry.db is placed, often the root of the device's SD card.
  3. (User) From the Agentry client, repeat the application functionality for which the designer wants to see debugging information.

    The client looks for the file on startup, and if found, loads and respects the configuration. The client creates a text file called Debug.log and concatenates output into it. Configurations are loaded only if the application name and module names in the file correspond with the names in the client application.

  4. (App Designer) Obtain the generated Debug.log file from the predetermined location on the release client.
  5. (App Designer) Review the Debug.log information.