×

Multi-tenant aware debugging methods and systems

  • US 10,296,440 B2
  • Filed: 06/24/2015
  • Issued: 05/21/2019
  • Est. Priority Date: 06/24/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method of real-time debugging of an instance of a virtual application generated at run-time based at least in part on an application code in a database coupled to a plurality of application servers, the method comprising:

  • receiving, by a first application server of the plurality of application servers, a client request associated with the application code in the database from the instance of the virtual application provided by the first application server to a client device via a network;

    verifying, by the first application server, creation of an active debugging session associated with the client request does not violate a debugging utilization criterion; and

    after verifying that the active debugging session does not violate the debugging utilization criterion;

    creating, by the first application server, an entry in a debug mapping table in the database to maintain an association between the instance of the virtual application from which client request originated, a network address associated with a debugger, and the first application server providing the instance of the virtual application to the client device; and

    providing, by the first application server via the network to the network address associated with the debugger associated with the active debugging session, execution information associated with at least a portion of the application code in the database when execution of the application code by the first application server providing the instance of the virtual application stops, the execution information corresponding to a current execution state of the instance of the virtual application provided by the first application server to the client device;

    receiving, at a second application server of the plurality of application servers, a debugging request received from the debugger;

    redirecting, by the second application server, the debugging request received from the debugger to the first application server after accessing the debug mapping table and determining the debugging request pertains to the instance of the virtual application executing on the first application server based on the association between the active debugging session and the first application server;

    executing, by the first application server, the portion of the application code in response to the debugging request to resume performance of the client request; and

    providing, by the first application server to the debugger via the network, second execution information pertaining to an execution state of the instance of the virtual application corresponding to the first application server executing the portion of the application code as a response to the debugging request.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×