mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-23 23:49:50 +00:00
commit
2b73cde048
3
OAT.xml
3
OAT.xml
@ -61,6 +61,9 @@ Note:If the text contains special characters, please escape them according to th
|
||||
</filefilter>
|
||||
<filefilter name="defaultPolicyFilter" desc="根目录LICENSE文件校验策略的过滤条件" >
|
||||
</filefilter>
|
||||
<filefilter name="binaryFileTypePolicyFilter" desc="二进制文件校验策略的过滤条件" >
|
||||
<filteritem type="filepath" name="figures/.*" desc="自研的二进制图片"/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
||||
|
37
README_zh.md
37
README_zh.md
@ -1,37 +1,48 @@
|
||||
# 方舟编译器工具链组件
|
||||
# 方舟工具链组件
|
||||
|
||||
- [方舟编译器工具链](#方舟编译器工具链)
|
||||
- [方舟工具链](#方舟工具链)
|
||||
- [简介<a name="section0001"></a>](#简介)
|
||||
- [目录<a name="section0002"></a>](#目录)
|
||||
- [使用说明<a name="section0003"></a>](#使用说明)
|
||||
- [约束<a name="section0004"></a>](#约束)
|
||||
- [相关仓<a name="section0005"></a>](#相关仓)
|
||||
- [编译构建<a name="section0004"></a>](#编译构建)
|
||||
- [约束<a name="section0005"></a>](#约束)
|
||||
- [相关仓<a name="section0006"></a>](#相关仓)
|
||||
|
||||
## 简介<a name="section0001"></a>
|
||||
|
||||
方舟编译器工具链(ArkCompiler Toolchain)为开发者提供了一套OpenHarmony应用程序调试调优工具,其功能包括单步调试、断点调试、watch变量及表达式、cpu profiler和heap profiler等,并支持多实例和worker调试。
|
||||
方舟工具链(ArkCompiler Toolchain)为开发者提供了一套OpenHarmony应用程序调试调优工具,其功能包括单步调试、断点调试、watch变量及表达式、cpu profiler和heap profiler等,并支持多实例和worker调试。
|
||||
|
||||
**方舟工具链架构图:**
|
||||
|
||||
![](/figures/arkcompiler-toolchain-arch.png)
|
||||
|
||||
## 目录<a name="section0002"></a>
|
||||
|
||||
```
|
||||
/arkcompiler/toolchain
|
||||
├─ tooling # 调试器实现
|
||||
└─ inspector # inspector检查器,包括会话连接,协议消息转发等
|
||||
├─ tooling # 调试调优实现
|
||||
└─ inspector # inspector调试协议,包括会话连接,消息转发等
|
||||
```
|
||||
|
||||
## 使用说明<a name="section0003"></a>
|
||||
|
||||
1. 连接好设备,新建或将已有工程导入[DevEco Studio](https://developer.harmonyos.com/cn/develop/deveco-studio)进行编译构建;
|
||||
2. 编译成功后,点击右上角Debug按钮;
|
||||
3. 安装运行后,即可在设备上查看应用示例运行效果,以及进行相关调试。
|
||||
调试应用时,需要配套DevEco Studio使用,详细的指导请前往[应用调试](https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404)。此外,对调试调优特性支持情况可前往[DevEco Studio版本说明](https://developer.harmonyos.com/cn/docs/documentation/doc-releases/release_notes-0000001057597449)查看详细说明。
|
||||
|
||||
|
||||
## 约束<a name="section0004"></a>
|
||||
1. IDE版本及配套SDK问题,可前往[DevEco Studio版本说明](https://developer.harmonyos.com/cn/docs/documentation/doc-releases/ohos-release-notes-0000001226452454)来查看详细内容。
|
||||
## 编译构建<a name="section0004"></a>
|
||||
1. inspector
|
||||
```sh
|
||||
$ ./build.sh --product-name rk3568 --build-target ark_debugger
|
||||
```
|
||||
2. tooling
|
||||
```sh
|
||||
$ ./build.sh --product-name rk3568 --build-target libark_ecma_debugger
|
||||
```
|
||||
|
||||
## 约束<a name="section0005"></a>
|
||||
- 需配套DevEco Studio和SDK使用
|
||||
|
||||
## 相关仓<a name="section0005"></a>
|
||||
## 相关仓<a name="section0006"></a>
|
||||
|
||||
**[arkcompiler\_toolchain](https://gitee.com/openharmony/arkcompiler_toolchain)**
|
||||
|
||||
|
BIN
figures/arkcompiler-toolchain-arch.png
Normal file
BIN
figures/arkcompiler-toolchain-arch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
Loading…
Reference in New Issue
Block a user