Multi-domain unified debugger
First Claim
1. A system for debugging a multi-domain graphical model, comprising:
- a computational device, having;
a plurality of debuggable objects respectively associated with at least one of a plurality of entities found in a graphical model, the plurality of entities including entities from modeling domains of different types; and
a unified debugger, the unified debugger integrating a plurality of the debuggable objects that are associated with entities from the modeling domains into a common diagnostic environment, the unified debugger generating a view of information based on information referenced by a debuggable object being executed in the graphical model; and
a display device configured to display a view of information associated with an executing one of the plurality of entities in the graphical model, the view automatically changing as entities from different types of modeling domains are executed in the graphical model, the changing view based on information in a debuggable object associated with a currently executing entity in the graphical model, the view changing between views of at least two of a time-based block diagram, a statechart, a data flow diagram, a discrete event model and compiled code.
1 Assignment
0 Petitions
Accused Products
Abstract
A Unified Debugger that enables the debugging of graphical models with combinations of entities from multiple domains such as time-based block diagrams, statecharts, and physical system models, with additional features for the debugging of hand-written and automatically generated code is disclosed. A view of the entity being executed that is consistent with the type of the modeling domain to which the entity currently being executed belongs is automatically generated for a user. Rather than requiring a user to manually transition from one debugger to the next, the Unified Debugger applies the appropriate debugging features from each modeling domain. The Unified Debugger also enables integration of diagnostic information from a multitude of modeling domains into a central user interface. In addition, a standard diagnostic interface which spans a plurality of modeling domains is defined that enables the customization of debug behavior.
-
Citations
48 Claims
-
1. A system for debugging a multi-domain graphical model, comprising:
- a computational device, having;
a plurality of debuggable objects respectively associated with at least one of a plurality of entities found in a graphical model, the plurality of entities including entities from modeling domains of different types; and a unified debugger, the unified debugger integrating a plurality of the debuggable objects that are associated with entities from the modeling domains into a common diagnostic environment, the unified debugger generating a view of information based on information referenced by a debuggable object being executed in the graphical model; and a display device configured to display a view of information associated with an executing one of the plurality of entities in the graphical model, the view automatically changing as entities from different types of modeling domains are executed in the graphical model, the changing view based on information in a debuggable object associated with a currently executing entity in the graphical model, the view changing between views of at least two of a time-based block diagram, a statechart, a data flow diagram, a discrete event model and compiled code. - View Dependent Claims (2, 3, 4, 5, 6)
- a computational device, having;
-
7. In a computational device with a block diagram environment, a method of debugging a multi-domain block diagram, the method comprising:
- providing a plurality of debuggable objects (DBOs) associated with entities found in a block diagram model and its solver, the block diagram model including entities from a plurality of types of modeling domains, the modeling domains being of different types;
providing a unified debugger, the unified debugger integrating the plurality of DBOS that are associated with entities from different types of modeling domains into a common diagnostic environment, the common diagnostic environment displaying a plurality of views of the block diagram to a user consistent with a modeling domain of an entity being executed; executing a first entity from a first modeling domain in the block diagram; displaying a first view consistent with the first modeling domain in the common diagnostic environment, the displaying of the first view based on information referenced by a first DBO associated with the first entity; executing a second entity from a second modeling domain in the block diagram; replacing the first view with a second view consistent with the second modeling domain in the common diagnostic environment, the view changing between views of at least two of a time-based block diagram, a statechart, a data flow diagram, a discrete event model and compiled code; and displaying the second view based on information referenced by a second DBO associated with the second executing entity. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
- providing a plurality of debuggable objects (DBOs) associated with entities found in a block diagram model and its solver, the block diagram model including entities from a plurality of types of modeling domains, the modeling domains being of different types;
-
23. A computer-readable medium holding computer executable instructions for debugging a multi-domain block diagram, the instructions comprising:
-
one or more instructions for providing a plurality of debuggable objects (DBOs) associated with entities found in a block diagram model and its solver, the block diagram model including entities from a plurality of different types of modeling domains, the modeling domains being of different types; one or more instructions for providing a unified debugger, the unified debugger integrating the plurality of DBOs that are associated with entities from different types of modeling domains for debugging into a common diagnostic environment, the common diagnostic environment displaying a plurality of views of the block diagram to a user consistent with a modeling domain of an entity being executed; one or more instructions for executing a first entity from a first modeling domain in the block diagram; one or more instructions for displaying a first view consistent with the first modeling domain in the common diagnostic environment, the displaying of the first view based on information referenced by a first DBO associated with the first entity; one or more instructions for executing a second entity from a second modeling domain in the block diagram; one or more instructions for replacing the first view with a second view consistent with the second modeling domain in the common diagnostic environment, the view changing between views of at least two of a time-based block diagram, a statechart, a data flow diagram, a discrete event model and compiled code; and one or more instructions for displaying the second view based on information referenced by a second DBO associated with the executing second entity. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37)
-
-
38. A distributed system for debugging multi-domain block diagrams, comprising:
-
a server hosting a block diagram environment having at least one block diagram model, the block diagram model including entities from a plurality of modeling domains, the modeling domains being of different types, the entities in the at least one block diagram model associated with a respective one of a plurality of debuggable objects (DBOs), DBO the block diagram environment including a unified debugger, the unified debugger integrating the plurality of DBOs that are associated with entities from different types of modeling domains into a common diagnostic environment for a user, the common diagnostic environment generating a plurality of views of the block diagram to the user; a client device configured to communicate with the server over a network, the client device requesting the initiation of an execution of the block diagram model in response to a user request; and a display device configured to communicate with the client device, the display device displaying the plurality of views generated by the server during an execution of the block diagram model, the plurality of views programmatically transitioning from a first view consistent with the first modeling domain to a second view consistent with a second modeling domain, the displaying of the first and second view based on information referenced by a first DBO and a second DBO associated with a first entity and a second entity, respectively, the transitioning between views of at least two of a time-based block diagram, a statechart, a data flow diagram, a discrete event model and compiled code.
-
-
39. A computer-readable medium holding computer-executable instructions for debugging a graphical model, the instructions comprising:
-
one or more instructions for providing a model view of a graphical model being executed, the model view showing a plurality of entities from a plurality of different types of modeling domains and transitioning between views of at least two of a time-based block diagram, a statechart, a data flow diagram, a discrete event model and compiled code; and
,one or more instructions for providing a plurality of debuggable objects (DBOs) associated with the plurality of entities found in the graphical model and a solver for the graphical model, the graphical model including entities from a plurality of modeling domains, the modeling domains being of different types; one or more instructions for generating an execution list view displaying information from the execution of the entities in the graphical model; and one or more instructions for integrating the model view, a plurality of DBOs that are associated with entities from different types of modeling domains, and the execution list view into a common diagnostic environment, the common diagnostic environment including a unified debugger for the plurality of modeling domain. - View Dependent Claims (40, 41, 42, 43, 44, 45, 46, 47)
-
-
48. In a computational device with a graphical modeling environment, a method of debugging a multi-domain graphical model, the method comprising:
-
providing a standard interface for a plurality of entities found in a graphical model and its solver, the graphical model including entities from a plurality of different types of modeling domains; providing a unified debugger, the unified debugger integrating information acquired for debugging the plurality of entities from different types of modeling domains into a common diagnostic environment for a user, the information acquired using a standard interface, the common diagnostic environment displaying a plurality of views of the graphical model to a user consistent with the modeling domain of an entity being executed, the plurality of views transitioning between views of at least two of a time-based block diagram, a statechart, a data flow diagram, a discrete event model and compiled code; and executing the graphical model, the unified debugger providing a view of the execution to the user that automatically changes as entities from different types of modeling domains are executed in the graphical model, the changing of the view based on information associated with a currently executing entity in the graphical model.
-
Specification