LLDB 调试器 - 官方网站
官网地址:
https://lldb.llvm.org/index.html
LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.
LLDB is the default debugger in Xcode on macOS and supports debugging C, Objective-C and C++ on the desktop and iOS devices and simulator.
All of the code in the LLDB project is available under the “Apache 2.0 License with LLVM exceptions”.
Using LLDB
For an introduction into the LLDB command language, head over to the LLDB Tutorial. For users already familiar with GDB there is a cheat sheet listing common tasks and their LLDB equivalent in the GDB to LLDB command map.
There are also multiple resources on how to script LLDB using Python Python Reference is a great starting point for that.
Compiler Integration Benefits
LLDB converts debug information into Clang types so that it can leverage the Clang compiler infrastructure. This allows LLDB to support the latest C, C++, Objective-C and Objective-C++ language features and runtimes in expressions without having to reimplement any of this functionality. It also leverages the compiler to take care of all ABI details when making functions calls for expressions, when disassembling instructions and extracting instruction details, and much more.
The major benefits include:
- Up to date language support for C, C++, Objective-C
- Multi-line expressions that can declare local variables and types
- Utilize the JIT for expressions when supported
- Evaluate expression Intermediate Representation (IR) when JIT can’t be used
Here’s a short precis of how to run lldb if you are familiar with the gdb command set. We will start with some details on lldb command structure and syntax to help orient you.
- Command Structure
- Loading a Program into lldb
- Setting Breakpoints
- Breakpoint Names
- Setting Watchpoints
- Starting or Attaching to Your Program
- Controlling Your Program
- Examining Thread State
- Examining Stack Frame State
上一篇: LLDB XCODE 使用组织
下一篇: LLDB 调试命令、插件和技巧(中)
推荐阅读
-
金山集团APP最新版下载(中国)官方网站 - IOS/Android通用版/手机应用下载 - 金山集团APP最新版下载 APP介绍
-
飞思卡尔的工具 freemaster 可与 powerpc 调试器配合使用
-
Plankton Embedded:用于飞思卡尔 Kinetis 开发板的 OpenSDA 调试器(第 1 部分)--背景和架构
-
苹果官方网站鼠标滚动模仿电影动画的实现
-
黑苹果详细安装教程--基于 OpenCore 官方网站指南--UPUPMO(macOS Monterey)
-
pg电子娱乐平台(中国)官方网站 - IOS/安卓通用版/手机APP - pg电子娱乐平台游戏介绍
-
大发官方网站登录
-
简单提取 iOS13 ipsw 固件的内置壁纸(或文件)--没有看到官方网站,点击第一个下载即可!
-
Vue3+Nuxt3 从 0 到 1 建立官方网站项目(搜索引擎优化搜索、中英文切换、图片懒加载)
-
区块链钱包下载手机官方网站 - 详细步骤: