Patent ID: 7707555

Claim:
A debug apparatus comprising: a debug system comprising a debug client configured to interact with a program during execution of the program and to extract execution state corresponding to the program, wherein the debug client is configured to generate one or more first update queries including the execution state; a database server system coupled to receive the one or more first update queries from the debug system, the database server system comprising a database and configured to store the execution state in the database in an execution state section of the database; and a user system comprising a user interface client configured to receive user input and coupled to the database server system, the user interface client configured to generate a first read query responsive to the user input; wherein the database server system is configured to respond to the first read query with execution state stored in the execution state section of the database; and wherein the database includes a control section separate from the execution state section, and wherein the control section comprises an interface between the user interface client and the debug client for passing one or more commands between the user interface client and the debug client, wherein the user interface client is configured to generate one or more second update queries to write the one or more commands to the control section, and wherein the database server system is configured to write the one or more commands to the control section responsive to the one or more second update queries, and wherein the debug client is configured to generate one or more second read queries to read the one or more commands from the control section, and wherein the database server system is configured to return the one or more commands from the control section in response to the one or more second read queries, and wherein the debug client is configured to generate one or more third update queries to write one or more debugger event messages to the control section, and wherein the database server system is configured to write the one or more debugger event messages to the control section responsive to the one or more third update queries, and wherein the user interface client is configured to generate one or more third read queries to read the one or more debugger event messages from the control section, and wherein the database server system is configured to return the one or more debugger event messages in response to the one or more third read queries.