Go to main content
Oracle® Developer Studio 12.5: Debugging a Program with dbx

Exit Print View

Updated: June 2016

Setting Breakpoints at the Machine-Instruction Level

To set a breakpoint at the machine-instruction level, use the stopi command. The command accepts any event specification. The syntax for the stopi command is:

stopi event-specification [modifier]

Commonly used forms of the stopi command are:

stopi [at address] [-if cond]
stopi in function [-if cond]

For more information, see stopi Command.

Setting a Breakpoint at an Address

Use the stopi command to set a breakpoint at a specific address:

(dbx) stopi at address

For example:

(dbx) nexti
stopped in hand::ungrasp at 0x12638
(dbx) stopi at &hand::ungrasp
(3) stopi at &hand::ungrasp