Patent ID: 8458667

Claim:
A method comprising: creating a statechart in response to user input, wherein the statechart comprises a plurality of state icons connected by wires, wherein the state icons correspond to respective states, wherein the wires correspond to transitions to and from the states; creating one or more debugging specifications based on the statechart, wherein the one or more debugging specifications include program code for implementing one or more debugging operations for the statechart, wherein at least a portion of the program code is created in response to user input; configuring the real time target according to the statechart; configuring the real time target according to the one or more debugging specifications, wherein configuring the real time target according to the one or more debugging specifications comprises deploying the program code of the one or more debugging specifications to the real time target and configuring the real time target with code executable to lookup information from a data structure to send to the host computer during execution of the statechart in order to coordinate a display of debugging information on the host computer with the execution of the statechart on the real time target; the real time target executing according to the statechart and the one or more debugging specifications, wherein said executing comprises performing the one or more debugging operations and generating the debugging information based on the one or more debugging specifications; the real time target providing the debugging information to the host computer for display, wherein the debugging information is useable to evaluate execution of the statechart on the real time target for debugging; the real time target receiving one or more debugging commands from the host computer during execution of the statechart; and the real time target performing one or more additional debugging operations in response to the one or more debugging commands.