pyocd_target_step_out
Step out of the current function by setting a temporary breakpoint at the return address. Resumes execution until the function returns, then reports the new code position.
Instructions
Execute until the current function returns (step out). Sets a temporary breakpoint at the LR (return address), resumes, waits for the breakpoint hit, then cleans up. Returns the new position after returning from the function.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait for return (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |