发明名称 Methods and systems for internally debugging code in an on-demand service environment
摘要 A remote debug session for a server group is provided. A server group including multiple servers that perform workload sharing receives a request to debug code executed at the server group. The code is executed on behalf of a client of a database associated with the server group. One of the servers of the group initiates a debugging session and establishes a communication connection with the client. The one server maintains the connection open with the client for the duration of the debugging session. Subsequent requests related to the debug session can be handled in a number of ways by the server group, and all communication to the client about processing the requests is through the connection by the one server.
申请公布号 US9465720(B2) 申请公布日期 2016.10.11
申请号 US201514636997 申请日期 2015.03.03
申请人 salesforce.com, inc. 发明人 Tamm Steven
分类号 G06F9/44;G06F11/36;H04L29/08 主分类号 G06F9/44
代理机构 Blakely, Sokoloff, Taylor & Zafman 代理人 Blakely, Sokoloff, Taylor & Zafman
主权项 1. A system comprising: a server group provided by one or more hardware computing devices each comprising one or more processors and at least one memory device, the one or more hardware computing devices appearing to a client device as a single server entity associated with a database, the server group including multiple servers that share tasks among the multiple servers, the server group to receive, with at least one of the one or more processors, a debugging session request from a client device over a network connection, the debugging session request to debug code executed by the server group and not locally at the client device;establish, with at least one of the one or more processors, a connection to the client device via a first server of the server group to initiate a debugging session between the server group and an integrated development environment (IDE) of the client device in response to the debugging session request, the first server to maintain open the connection with the client device for a duration of the debugging session to provide a single communication connection to enable the use of break points, step through, and evaluation via a remote debugging environment;for subsequent service requests of the debugging session at the server group, maintain state for the debugging session, with at least one of the one or more processors, with a resource shared among the server group, receive the service requests with the first server and distribute the service requests among the server group for processing, wherein each server that processes a request is to communicate via the connection from the first server to the client device about processing on the service requests and wherein breakpoint operations are modified to be registered in a same state as the connection, and be connected back to the first server.
地址 San Francisco CA US