×

Serialize view model for debugging and application support

  • US 10,394,690 B1
  • Filed: 12/30/2015
  • Issued: 08/27/2019
  • Est. Priority Date: 12/30/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • creating, by an application executing on a first device, a first view model associated with the application, the first view model being in a first data format and including first data that, when rendered on a first display of the first device, depicts a first user interface, wherein the first data format is a tree structured data format;

    presenting, by the application and on the first display of the first device, the first user interface associated with the data of the first view model;

    receiving, via an input device of the first device, a first input to cause the application to perform a first action;

    creating, by the application executing on the first device, a second view model associated with the application, the second view model being in the first data format and including second data that, when rendered on the first display of the first device, depicts a second user interface, wherein one of the first view model and the second view model contain a link that allows a user to navigate to the other view model;

    presenting, by the application and on the first display of the first device, the second user interface associated with the second data of the second view model;

    storing the first view model and the second view model in memory of the first device;

    receiving, via the input device of the first device, a second input to cause the application to perform a second action;

    identifying, by the application, an error experienced by the application and caused by the second input;

    at least partially in response to identifying the error;

    capturing, by the application, a stack trace corresponding to the error, the stack trace including a report of active stack frames during a time of the error, the active stack frames including data structures that contain subroutine state information associated with the application;

    capturing, by the application, a process image of the first view model and the second view model including first data and second data that was rendered on the first display at the time of the error;

    serializing, by the application, the process image of the first view model and the second view model to generate a serialized view model, the serialized view model being in a second data format that is configured to be transmitted via a network;

    sending, by the application and to a service via the network, the stack trace and the serialized view model to enable the service to debug the application;

    deserializing, via a second device associated with the service, the serialized view model to obtain the first view model and the second view model in the first data format; and

    presenting the first user interface and the second user interface associated with the first view model and the second view model via a second display of the second device at least partially in response to deserializing the serialized view model at the second device.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×