The Control Panel

The control panel contains the buttons that are used to control the execution of the program being traced, step by step.

source:trunk/src/org/kahina/core/gui/icons/creep.pngCreep: The smallest possible step. If you keep clicking the creep button, you step through the execution of a program in all available detail. Depending on the state of the program, creep leeds to the creation of a new node with status called or redone, or to an existing node changing its status to failed, exited nondeterministically, exited deterministically or exception. In both cases, this node is automatically selected.
source:trunk/src/org/kahina/core/gui/icons/roundskip.pngAuto-complete: Makes sense when the currently selected node has status called or redone: auto-complete will fast-forward, i.e. execution will keep creeping, until that node changes its status, i.e. its execution completes with success, failure or an exception.
source:trunk/src/org/kahina/core/gui/icons/pause.pngPause: Clicking this button interrupts a running auto-complete, i.e. the fast-forward stops, but the step being autocompleted is remembered. When pause is clicked again, auto-complete of this step is resumed.
source:trunk/src/org/kahina/core/gui/icons/skip.pngSkip: Like auto-complete, but done on the Prolog side, i.e. the underlying Prolog debugger is told to skip execution of the step whose call or redo port was just seen. This has the advantage of being much more efficient since substeps are not transmitted to Kahina. This is of course also a disadvantage: the descendant steps of the skipped step are never shown, so use this with care. Skip cannot be paused. Also, it is only possible to skip the most recently called or redone step, not arbitrarily selected steps.
source:trunk/src/org/kahina/core/gui/icons/reject.pngFail: Forces the step just called or redone to fail without execution. Can be useful to test parts of a program that would not normally be executed.
source:trunk/src/org/kahina/core/gui/icons/leap.pngLeap: Fast-forwards until creep, pause or stop is clicked. Can be useful for letting (large parts of) a program execute completely to inspect the execution later.
source:trunk/src/org/kahina/core/gui/icons/stop.pngStop: Stops auto-completing or leaping. The difference to pause is that auto-completing cannot be resumed afterwards.
Last modified 8 years ago Last modified on Jul 18, 2011, 12:16:50 AM

Attachments (1)

Download all attachments as: .zip