Sun Studio 12: Debugging a Program With dbx


wheniwheni event_specification [modifier]{command... ; }

When the specified event occurs, the commands are executed.

The following specific syntax is valid:

wheni at address_expression { command; }

Execute command(s) when address_expression is reached.


address is any expression resulting in or usable as an address.

command is the name of a command.

For a list and the syntax of all events see Setting Event Specifications.