Patent ID: 7992133

Claim:
A method for debugging distributed applications for a given scenario, comprising: exposing, by a Run Context, state of at least one of a distributed application and services making-up that distributed application, the Run Context including an Application Programming Interface (API) that allows the services to interact during debug; coordinating, by a Debug Context, the distributed application and presenting a unified view of the distributed application to a debugger, wherein the Debug Context includes a centralized repository; and triggering, by the Run Context as the Run Context flows with the distributed application, a callback into the Debug Context, thereby modifying state of the Debug Context; wherein the distributed application utilizes the Run Context to interact with the Debug Context and wherein the callback includes at least one of distributed application state and service state and the at least one of distributed application state and service state is modified by the debugger using the Debug Context before a response is sent from the debugger.