Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library |
4. Viewing and Navigating To Code
5. Controlling Program Execution
6. Setting Breakpoints and Traces
8. Evaluating and Displaying Data
11. Debugging Multithreaded Applications
16. Debugging Fortran Using dbx
17. Debugging a Java Application With dbx
18. Debugging at the Machine-Instruction Level
Examining the Contents of Memory
Using the examine or x Command
Stepping and Tracing at Machine-Instruction Level
Single Stepping at the Machine-Instruction Level
Tracing at the Machine-Instruction Level
19. Using dbx With the Korn Shell
To set a breakpoint at the machine-instruction level, use the stopi command. The command accepts any event specification, using the syntax:
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.
To set a breakpoint at a specific address, type:
(dbx) stopi at address
For example:
(dbx) nexti stopped in hand::ungrasp at 0x12638 (dbx) stopi at &hand::ungrasp (3) stopi at &hand::ungrasp (dbx)