Package ptolemy.vergil.debugger
This package implements a debugger interface that stops the model at specific breakpoints in specific actors.
Right clicking on an actor brings up a contact menu that has "Set Breakpoints" as a menu choice. "Set Breakpoints" is currently only implemented for the SDF domain. It seems that only "before iterate" and "after iterate" work currently. You should be able to run the model by clicking on the Run button. A message will appear in the information bar at the bottom left hand portion of the model window when it reaches your breakpoint. The actor with the breakpoint will also be highlighted in magenta after the first iteration. Click on the Run button again to continue execution.
Some related features that you may wish to use are:
- Debug -> Listen to Director
- Right click on actor > Listen to Actor
- Debug > Animate Execution (set to something visible like 500 ms)
See also $PTII/doc/coding/debugging.html
- Since:
- Ptolemy II 2.1
-
Class Summary Class Description BreakpointConfigurer A GUI widget for configuring breakpoints.BreakpointConfigurerDialog A top-level dialog window for configuring the breakpoints of an entity.BreakpointDialogFactory A factory that creates a dialog box to configure breakpoints for the actor selected.DebugController An execution listener that suspends execution based on breakpoints.DebugProfile Profile for an actor being debugged.