wheni (idb mode only)

Set an instruction breakpoint that executes a command list when it is hit.

Syntax

wheni [traced_expression] [thread ID ,...] [at address] [if cond] {commands ;...}
wheni address [thread ID ,...] [if cond] {commands ;...}

Parameters

commands

A list of debugger commands.

For all other parameters, see the stopi command.

Description

This command sets an instruction breakpoint that executes a command list when it is hit.

The difference between stopi and wheni is that a breakpoint created using stopi suspends the execution when hit and does not execute any commands, whereas one created using wheni does not suspend execution and does execute commands.

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.