|
|
To execute one instruction
at a time, use the
:s
command.
The command executes one instruction and returns control to adb.
The command has the following form:
[address ] [, count ] :s
In the above command line address must be the address of the instruction to execute, and count is the number of commands to execute.
If address is not specified, adb uses the current address. If count is specified, adb continues to execute each successive instruction until count instructions have been executed. For example, the following command executes the first 5 instructions in the function main:
main,5:s