---
title: step-out命令
description: "从当前函数内部执行完并返回到调用处。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengdevps/debugging/debugger/KunpengDevKitCli_0146.html
sourcePath: /source/zh/kunpengdevps/debugging/debugger/KunpengDevKitCli_0146.html
indexId: c44c5b4b73d663626f33a29b8550bef3e543ab3fa895da74c4c07cb5e4037e8269
---
# step-out命令

#### 命令功能

从当前函数内部执行完并返回到调用处。


#### 命令格式

```
step-out/so [-h | --help]
```

step-out命令可简写为so。


#### 参数说明


**表1 step-out命令参数**

| 参数 | 参数说明 |
| --- | --- |
| 无 | 从当前函数内部执行完并返回到调用处。 |
| \-h/\-\-help | 可选参数，获取帮助信息。 |


#### 使用示例

执行以下命令，查看step-out支持的功能信息：

```
step-out -h
```

返回信息如下：

```
OVERVIEW
    Run this command to finish the execution in the function and return to the calling location.

USAGE
    step-out/so
    [-h | --help]

OPTIONS
    -h, --help
    Get help information.

EXAMPLE
    # Finishes the execution in the function and return to the calling location.
    step-out
```
