未验证 提交 630f39ef 编写于 作者: L leixin 提交者: Gitee

update zh-cn/application-dev/tools/lldb-tool.md.

Signed-off-by: Nleixin <leixin19@huawei.com>
上级 3efd7398
...@@ -277,14 +277,14 @@ WorkingDir: /data/local/tmp ...@@ -277,14 +277,14 @@ WorkingDir: /data/local/tmp
``` ```
- 对C++代码打断点 - 对C++代码打断点
``` ```
(lldb) breakpoint set --file hello.cpp --line 154 (lldb) breakpoint set --file hello.cpp --line 154
``` ```
- attach应用的进程pid - attach应用的进程pid
``` ```
(lldb) attach -p pid` (lldb) attach -p pid`
``` ```
- 执行continue命令,调试停在断点hello.cpp154行 - 执行continue命令,调试停在断点hello.cpp154行
``` ```
(lldb) continue (lldb) continue
``` ```
- 进行后续调试流程,可参考上述文档中调试功能部分 - 进行后续调试流程,可参考上述文档中调试功能部分
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册