Salesforce

Client Crashes (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Client Crashes (Magic xpa 3.x)

Sometimes it happens that a client crashes and, as such, the last sequence of operations may be lost. We need to understand which operations were executed before the crash. These operations have not yet been flushed to the server and so are not visible in the Activity Monitor.

To debug client-side crashes:

  1. Set the LogClientSequenceForActivityMonitor flag in the HTML file to Yes. The HTML file is created when you use the Rich Client Deployment Builder. If the flag is set to Yes, client activities will be written to a local log file on the client. This log file will include all the information that was not yet sent to the server. The log file will be deleted after each event execution or when the application is terminated.

  2. Launch the application again. Magic xpa will scan for existing log files. If there are any log files from the last crash, they will be sent to the server (and appear in the Activity Monitor).

  3. When a crash occurs, exit all other parallel processes (so that their log files will be deleted normally).

  4. Restart the application and the log file with the last client sequence will be sent to the server (and appear in the Activity Monitor).

  5. The Activity Monitor will be updated with the client log, and now you can see the location of the problem.

Note: The Activity Monitor's lines are pink for the server and white for the client.

Reference
Attachment 
Attachment