A system and method of exposing debugging information in a graphical
modeling and execution environment is disclosed. The present invention
allows a user to view debugging information in the same window as the
graphical view of the model being executed. Debugging data is associated
with relevant components of the model displayed in the graphical view. A
separate execution list view shows the methods called during the
execution of the block diagram in the current time step up until the
current point in execution. User-set breakpoints and conditional
breakpoints may be set in both the model view and the execution list
view. Values may be obtained for all of the displayed methods. The
debugging tool may be implemented by using it in conjunction with a
graphical modeling and execution environment, such as a block diagram
environment or state diagram environment.