# Run until return

```
 Action    name: ThreadRunUntilReturn
 
```

This command executes assembler instructions and stops on the instruction immediately following the instruction that called the current function.

Internally, IDA executes each instruction in the current function until a 'return from function' instruction is reached.

See also

* [Step into](/9.1/user-guide/user-interface/menu-bar/debugger/process-control/step-into.md)
* [Step over](/9.1/user-guide/user-interface/menu-bar/debugger/process-control/step-over.md)
* [Debugger submenu](/9.1/user-guide/user-interface/menu-bar/debugger.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hex-rays.com/9.1/user-guide/user-interface/menu-bar/debugger/process-control/run-until-return.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
