发明名称 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.
申请公布号 US8972953(B2) 申请公布日期 2015.03.03
申请号 US201113085316 申请日期 2011.04.12
申请人 salesforce.com, inc. 发明人 Tamm Steven
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Blakely, Sokoloff, Taylor & Zafman 代理人 Blakely, Sokoloff, Taylor & Zafman
主权项 1. A system comprising: a database including hardware and software components to implement the database; a server group coupled to the database, the server group appearing to a client device as a single server entity, the server group including multiple servers that share tasks among the multiple servers based on workload sharing to implement operations for multiple clients, the server group to receive 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 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;register the debugging session for the client device via the first server; andfor subsequent service requests of the debugging session at the server group, maintain state for the debugging session 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