Patent ID: 8131523

Claim:
In a modeling and execution environment, a method comprising: providing a graphical debugger interfaced with: a model view of a model being executed, a first environment, and a second environment, the graphical debugger having debug information related to an execution of said model, the execution occurring in: a single task simulation loop when the model is a single rate system, where the single rate system includes blocks sharing a same sample time, or a multi-task simulation loop when the model is a multi-rate system, the multi-rate system having at least one sample time for at least one of the blocks that differs from at least one sample time for another one of the blocks; the debug information indicating at least one of: the order of the execution of a plurality of methods in the model, wherein the plurality of methods includes a first block method operating in the first environment and a second block method operating in the second environment, and a start time and a stop time of at least one method executed during the execution of the model; and outputting the debug information to a user, wherein the outputting identifies: when the first block method, the second block method, or the at least one method are operating, an operation performed by the first block method, the second block method, or the at least one method at a determined location in the first block method, the second block method, or the at least one method, or an error related to the first block method, the second block method, or the at least one block method during execution of the computer-based model.