Set a breakpoint that executes a command list when it is hit.
when [quiet] detector [thread ID,…] [if cond] [commands]
See the stop commands.
This command sets a breakpoint that executes a list of commands when it is hit and both thread and if conditions, if specified, evaluate to TRUE.
When the event specified by the breakpoint occurs and all processing for that breakpoint has been completed, the debugger resumes execution of the program.
detector represents the various syntactical variations of the stop commands, such as in, at, and variable.
The difference between stop and when is that a breakpoint created using stop suspends the execution when hit, whereas one created using when does not.
Copyright © 2001-2011, Intel Corporation. All rights reserved.