stop variable (idb mode only)

Set a breakpoint on a specific variable.

Syntax

stop [quiet] variable lvalue [access] [within funcname] [thread ID {,...}][if cond] [commands]

Parameters

lvalue

An expression that designates a memory location.

ID

A thread ID.

cond

A conditional expression.

commands

A list of debugger commands.

funcname

The name of a function.

access

Possible values are:

write

read

changed  This mode detects writes that change the contents of the memory.

any  This mode detects both read and write.

Default value: write

Description

This command sets a breakpoint on a variable that you specify. If you specify within funcname, program execution breaks only when the access occurs in the specified function.

To suppress status reporting messages when the debugger hits a breakpoint, specify quiet.

To set a breakpoint such that the debugger stops when it hits one or more specific threads, specify thread and one or more comma-separated thread IDs.

To set a breakpoint based on a conditional expression, specify if cond.

To run one or more commands upon hitting a breakpoint, specify commands.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.