XCode调试LLDB
发布日期:2021-08-25 15:35:32 浏览次数:3 分类:技术文章

本文共 8119 字,大约阅读时间需要 27 分钟。

XCode版本:9.2 (9C40b)

  • apropos

    -- List debugger commands related to a word or subject.
    列出与单词或主题相关的调试器命令。

  • breakpoint

    -- Commands for operating on breakpoints (see 'help b' for
    shorthand.)
    在断点上运行的命令(参见'help b'速记。)

  • bugreport

    -- Commands for creating domain-specific bug reports.
    用于创建特定于域的错误报告的命令。

  • command

    -- Commands for managing custom LLDB commands.
    用于管理自定义LLDB命令的命令。

  • disassemble

    -- Disassemble specified instructions in the current
    target. Defaults to the current function for the
    current thread and stack frame.
    拆解当前的指定说明目标。默认为当前的函数当前线程和堆栈帧。

  • expression

    -- Evaluate an expression on the current thread. Displays
    any returned value with LLDB's default formatting.
    评估当前线程上的表达式。显示器任何返回值与LLDB的默认格式。

  • frame

    -- Commands for selecting and examing the current thread's
    stack frames.
    选择和检查当前线程的命令堆栈帧。

  • gdb-remote

    -- Connect to a process via remote GDB server. If no host
    is specifed, localhost is assumed.
    通过远程GDB服务器连接到进程。如果没有主机被指定,localhost被假定。

  • gui

    -- Switch into the curses based GUI mode.
    切换到基于curses的GUI模式。

  • help

    -- Show a list of all debugger commands, or give details
    about a specific command.
    显示所有调试器命令的列表,或者提供详细信息关于一个特定的命令。

  • kdp-remote

    -- Connect to a process via remote KDP server. If no UDP
    port is specified, port 41139 is assumed.
    通过远程KDP服务器连接到进程。如果没有UDP端口被指定,端口41139被假定。

  • language

    -- Commands specific to a source language.
    特定于源语言的命令。

  • log

    -- Commands controlling LLDB internal logging.
    控制LLDB内部记录的命令。

  • memory

    -- Commands for operating on memory in the current target
    process.
    用于在当前目标中对内存进行操作的命令处理。

  • platform

    -- Commands to manage and create platforms.
    管理和创建平台的命令。

  • plugin

    -- Commands for managing LLDB plugins.
    管理LLDB插件的命令。

  • process

    -- Commands for interacting with processes on the current
    platform.
    与当前进程交互的命令平台。

  • quit

    -- Quit the LLDB debugger.
    退出LLDB调试器。

  • register

    -- Commands to access registers for the current thread and
    stack frame.
    访问当前线程和寄存器的命令堆栈框架。

  • script

    -- Invoke the script interpreter with provided code and
    display any results. Start the interactive interpreter
    if no code is supplied.
    用提供的代码和调用脚本解释器显示任何结果。启动交互式解释器如果没有代码提供。

  • settings

    -- Commands for managing LLDB settings.
    用于管理LLDB设置的命令。

  • source

    -- Commands for examining source code described by debug
    information for the current target process.
    检查由调试描述的源代码的命令当前目标进程的信息。

  • target

    -- Commands for operating on debugger targets.
    用于在调试器目标上运行的命令。

  • thread

    -- Commands for operating on one or more threads in the
    current process.
    在一个或多个线程上运行的命令当前进程。

  • type

    -- Commands for operating on the type system.
    在类型系统上运行的命令。

  • version

    -- Show the LLDB debugger version.
    显示LLDB调试器版本。

  • watchpoint

    -- Commands for operating on watchpoints.
    用于在观察点上操作的命令。

Current command abbreviations (type 'help command alias' for more info):

当前命令缩写(更多信息请输入“help command alias”)

  • add-dsym

    -- Add a debug symbol file to one of the target's current modules
    by specifying a path to a debug symbols file, or using the
    options to specify a module to download symbols for.
    将调试符号文件添加到目标的当前模块之一 通过指定调试符号文件的路径,或使用选项来指定一个模块下载符号。

  • attach

    -- Attach to process by ID or name.
    通过ID或名称附加到进程。

  • b

    -- Set a breakpoint using one of several shorthand formats.
    使用几种简写格式之一来设置断点。

  • bt

    -- Show the current thread's call stack. Any numeric argument
    displays at most that many frames. The argument 'all' displays
    all threads.
    显示当前线程的调用堆栈。任何数字参数最多显示多个帧。显示“全部”参数所有线程。

  • c

    -- Continue execution of all threads in the current process.
    继续执行当前进程中的所有线程。

  • call

    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在当前线程上评估一个表达式。显示任何
    以LLDB的默认格式返回值。

  • continue

    -- Continue execution of all threads in the current process.
    继续执行当前进程中的所有线程。

  • detach

    -- Detach from the current target process.
    从当前目标进程中分离出来。

  • di

    -- Disassemble specified instructions in the current target.
    Defaults to the current function for the current thread and
    stack frame.
    反汇编当前目标中的指定指令。默认为当前线程的当前函数堆栈框架。

  • dis

    -- Disassemble specified instructions in the current target.
    Defaults to the current function for the current thread and
    stack frame.
    反汇编当前目标中的指定指令。默认为当前线程的当前函数堆栈框架。

  • display

    -- Evaluate an expression at every stop (see 'help target
    stop-hook'.)
    在每一站评估表达(请参阅“帮助目标”停止挂机”。)

  • down

    -- Select a newer stack frame. Defaults to moving one frame, a
    numeric argument can specify an arbitrary number.
    选择一个较新的堆栈帧。默认移动一帧,a数字参数可以指定任意数字。

  • env

    -- Shorthand for viewing and setting environment variables.
    查看和设置环境变量的简写。

  • exit

    -- Quit the LLDB debugger.
    退出LLDB调试器。

  • f

    -- Select the current stack frame by index from within the current
    thread (see 'thread backtrace'.)
    从当前的索引中选择当前的堆栈帧线程(请参阅“线程回溯”)。

  • file

    -- Create a target using the argument as the main executable.
    使用参数作为主要的可执行文件创建一个目标。

  • finish

    -- Finish executing the current stack frame and stop after
    returning. Defaults to current thread unless specified.
    完成当前堆栈帧的执行并停止返回。除非指定,否则默认为当前线程。

  • image

    -- Commands for accessing information for one or more target
    modules.
    用于访问一个或多个目标的信息的命令模块。

  • j

    -- Set the program counter to a new address.
    将程序计数器设置为新地址。

  • jump

    -- Set the program counter to a new address.
    将程序计数器设置为新地址。

  • kill

    -- Terminate the current target process.
    终止当前目标进程。

  • l

    -- List relevant source code using one of several shorthand formats.
    使用几种简写格式之一列出相关的源代码。

  • list

    -- List relevant source code using one of several shorthand formats.
    使用几种简写格式之一列出相关的源代码。

  • n

    -- Source level single step, stepping over calls. Defaults to
    current thread unless specified.
    来源级别单步骤,跨越通话。默认为当前线程,除非指定。

  • next

    -- Source level single step, stepping over calls. Defaults to
    current thread unless specified.
    来源级别单步骤,跨越通话。默认为当前线程,除非指定。

  • nexti

    -- Instruction level single step, stepping over calls. Defaults to
    current thread unless specified.
    指令级单步执行,逐步调用。默认为当前线程,除非指定。

  • ni

    -- Instruction level single step, stepping over calls. Defaults to
    current thread unless specified.
    指令级单步执行,逐步调用。默认为当前线程,除非指定。

  • p

    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在当前线程上评估一个表达式。显示任何以LLDB的默认格式返回值。

  • parray

    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在当前线程上评估一个表达式。显示任何以LLDB的默认格式返回值。

  • po

    -- Evaluate an expression on the current thread. Displays any
    returned value with formatting controlled by the type's author.
    在当前线程上评估一个表达式。显示任何返回值的格式由该作者控制。

  • poarray

    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在当前线程上评估一个表达式。显示任何以LLDB的默认格式返回值。

  • print

    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在当前线程上评估一个表达式。显示任何以LLDB的默认格式返回值。

  • q

    -- Quit the LLDB debugger.
    退出LLDB调试器。

  • r

    -- Launch the executable in the debugger.
    在调试器中启动可执行文件。

  • rbreak

    -- Sets a breakpoint or set of breakpoints in the executable.
    在可执行文件中设置一个断点或一组断点。

  • repl

    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在当前线程上评估一个表达式。显示任何以LLDB的默认格式返回值。

  • run

    -- Launch the executable in the debugger.
    在调试器中启动可执行文件。

  • s

    -- Source level single step, stepping into calls. Defaults to
    current thread unless specified.
    来源级单步骤,进入呼叫。默认为当前线程,除非指定。

  • si

    -- Instruction level single step, stepping into calls. Defaults to
    current thread unless specified.
    指令级单步,加入呼叫。默认为当前线程,除非指定。

  • sif

    -- Step through the current block, stopping if you step directly
    into a function whose name matches the TargetFunctionName.
    逐步通过当前块,如果直接步进则停止转换成名称与TargetFunctionName匹配的函数。

  • step

    -- Source level single step, stepping into calls. Defaults to
    current thread unless specified.
    来源级单步骤,进入呼叫。默认为当前线程,除非指定。

  • stepi

    -- Instruction level single step, stepping into calls. Defaults to
    current thread unless specified.
    指令级单步,加入呼叫。默认为当前线程,除非指定。

  • t

    -- Change the currently selected thread.
    更改当前选择的线程。

  • tbreak

    -- Set a one-shot breakpoint using one of several shorthand
    formats.
    使用几种简写中的一种设置一次性断点格式。

  • undisplay

    -- Stop displaying expression at every stop (specified by stop-hook
    index.)
    停止在每个停止处显示表达式(由stop-hook指定)指数。)

  • up

    -- Select an older stack frame. Defaults to moving one frame, a
    numeric argument can specify an arbitrary number.
    选择一个较旧的堆栈帧。 默认移动一帧,a数字参数可以指定任意数字。

  • x

    -- Read from the memory of the current target process.
    从当前目标进程的内存中读取。

For more information on any command, type 'help <command-name>'.

有关任何命令的更多信息,请键入“help <command-name>”。

转载地址:https://blog.csdn.net/weixin_33858336/article/details/88039534 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:TOP100summit2017:网易云通信与视频CTO赵加雨:外力推动下系统架构的4个变化趋势...
下一篇:CSRF回顾

发表评论

最新留言

第一次来,支持一个
[***.219.124.196]2023年05月24日 14时27分29秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

最新文章

机器学习 java_机器学习入门 一、理解机器学习+简单感知机(JAVA实现) 2019-12-01 13:16:44
java assembly 打包_Maven之多模块打包成一个jar包及assembly 2019-12-01 13:16:44
java 字符串原样输出_Java字符串的格式化与输出 2019-12-01 13:16:44
mysql并行加载机制_Oracle 并行原理深入解析及案例精粹 2019-12-01 13:16:44
thread java_Java Thread 总结 2019-12-01 13:16:45
mail java mail_使用 JavaMail 实现邮件发送与收取 2019-12-01 13:16:45
linux mysql安装失败 lib冲突问题_Linux安装遇到的问题 2019-12-01 13:16:42
mysql生成饼状图_ireport 5.6教程之饼图制作过程 2019-12-01 13:16:42
mysql 出现 quot_oracl出现&quot;ORA 2019-12-01 13:16:43
sphinx mysql 数据源_3.7.SQL 数据源 (MySQL, PostgreSQL) - Sphinx 0.9.9/Coreseek 3.2 参考手册... 2019-12-01 13:16:43
java oracle 事务 锁_oracle 事务简介,锁的概念,java访问数据库注意事项 2019-12-01 13:16:43
java中socket与多线程_Java Socket多线程编程、通信模型及socket协议详解 2019-12-01 13:16:43
main map java_Java从入门到实战之(12)Map示例大全(一) 2019-12-01 13:16:43
c++由大到小输出所有的各位和小于6的三位整数_小学数学16年级所有重点知识点汇总,难得这么全了!... 2019-12-01 13:16:41
mysql哟普话_mysql常用语句列表 2019-12-01 13:16:41
python unittest框架有哪些方法_python单元测试之unittest框架使用总结 2019-12-01 13:16:41
python命令行编程和函数式编程的区别_Python基础学习代码之函数和函数式编程 2019-12-01 13:16:41
python多个定时任务_python单线程实现多个定时器示例 2019-12-01 13:16:41
vfp 连接mysql数据库_VFP与SQL远程异构数据库_mysql 2019-12-01 13:16:41
在下列集成电路说法中不正确_模拟集成电路复习题1 2019-12-01 13:16:42