Previous: tracing, Up: Commands


4.7 view commands

The view category commands controls what information is printed by the simulator as it executes events. Watchpoints are similar to breakpoints in the feedback that is printed, but without interrupting simulation.

— Command: cause

Show causes of events when events are printed.

— Command: nocause

Turn off cause in feedback.

— Command: watchall-queue

Print events as they enter the event queue (either for checking or execution). This is generally recommended for debugging, as it prints a lot of information.

— Command: nowatchall-queue

Disables watchall-queue.

— Command: watch-event event-id

Watchpoint. Print event event-id each time it executes, without interrupting.

— Command: unwatch-event event-id

Remove watchpoint on event event-id.

— Command: watch-value inst

Print events that write to inst as they execute.

— Command: unwatch-value inst

Stop watching inst.

— Command: show-event-watches

Print list of all watched events.

— Command: show-event-values

Print list of all watched variables.

— Command: watchall-events

Print all events as they execute, regardless of whether or not they are explicitly watched.

— Command: nowatchall-events

Stop printing all events, but keep printing events that are explicitly listed watchpoints. This is particularly useful for temporarily watching all events in detail, and later restoring only explicitly watched events.