RealView Debugger command
ONSTATE
Executes the associated command when a particular event occurs.
Syntax
ONSTATE [,event] [,timer] [,replace] [command]
ON
For more details, see the RealView Debugger v1.8 Command Line Reference Guide.