当前位置:网站首页>Lldb common commands
Lldb common commands
2022-06-24 04:20:00 【Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma, Ma,】
One 、 Generate executable files
Use gcc Of -g Option to compile
Two 、 Get into lldb And select the file to debug
lldb <filename> Yes filename debug
3、 ... and 、 To set breakpoints
break(b) set -l <line> -f <filename> Set breakpoint to filename File first line That's ok
break Options -n <funcname> Specify the breakpoint as funcname function -c <expr> Set breakpoint conditions <expr>, Such as i==1
breakpoint list Check the list of breakpoints breakpoint delete 1 Delete the first set of breakpoints breakpoint delete Delete all breakpoints
Four 、 debug
run(r) Start the target program continue(c) Continue running the program until a breakpoint is encountered next(n) One step operation , It doesn't go into the subfunction step(s) One step operation , If you encounter a sub function, you will go in finish step out
5、 ... and 、 View variable status
frame variable List all current variable values print(p) < Variable name > View variable values expr <expr> Set variable value , Such as a = 0
边栏推荐
- Demonstration of the processing of divisor 0 in SQL
- 应用实践 | Apache Doris 整合 Iceberg + Flink CDC 构建实时湖仓一体的联邦查询分析架构
- openGauss 3.0版本源码编译安装指南
- 博士申请 | 香港科技大学(广州)刘浩老师招收数据挖掘方向全奖博士/硕士
- How to set the domain name on the server what is the role of the domain name
- [2021 "shadow seeking" medical artificial intelligence algorithm competition] Ti-One product use tutorial
- Wide & deep model and optimizer understand code practice
- 我与物联有个约定
- Changjiang Dayong, director of openeuler community: jointly promote the new open source model of Euler and jointly build a new open source system
- Tell you about mvcc
猜你喜欢

How can the new generation of HTAP databases be reshaped in the cloud? Tidb V6 online conference will be announced soon!

openEuler社区理事长江大勇:共推欧拉开源新模式 共建开源新体系

Black hat actual combat SEO: never be found hijacking

编译器是如何将芯片执行的第一个指令放到芯片起始地址的?

英特尔 XTU 官方超频工具已支持 Win11 22H2 和 13 代酷睿 Raptor Lake 处理器

The official overclocking tool of Intel XTU supports win11 22h2 and 13th generation core Raptor Lake processors

Application practice | Apache Doris integrates iceberg + Flink CDC to build a real-time federated query and analysis architecture integrating lake and warehouse

JVM调优简要思想及简单案例-怎么调优

Weibo International Edition changed its name to Weibo light sharing Edition

Brief ideas and simple cases of JVM tuning - how to tune
随机推荐
Live broadcast Reservation: Micro build practice - quickly build a catering reservation applet
15+城市道路要素分割应用,用这一个分割模型就够了
Browser rendering mechanism
How to gracefully handle and return errors in go (1) -- error handling inside functions
To the world's first full frame 3D games!
2. in depth tidb: entry code analysis and debugging tidb
What is a virtual host server? What are the advantages?
Black hat SEO practice: General 301 weight PR hijacking
Can the video streams of devices connected to easygbs from the intranet and the public network go through their respective networks?
Wide & deep model and optimizer understand code practice
API real-time signature scheme based on Yapi
How to modify the channel name registered by the camera in the easygbs national standard platform?
Difference and efficiency between get winevent and get eventlog
英特尔 XTU 官方超频工具已支持 Win11 22H2 和 13 代酷睿 Raptor Lake 处理器
After 20 years of development, is im still standing still?
web渗透测试----5、暴力破解漏洞--(6)VNC密码破解
Congratulations to Zhong Jun for becoming the maintainer of chaos metric model working group
Diskpart San policy is not onlineall, which affects automatic disk hanging
Gpt/gpt2/dialogpt detailed explanation comparison and application - text generation and dialogue
How to identify information more quickly and accurately through real-time streaming media video monitoring?