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

本文共 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回顾

发表评论

最新留言

初次前来,多多关照!
[***.217.46.12]2024年03月10日 01时21分50秒

关于作者

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

推荐文章

带bitlocker解密的pe_如何在PE下解锁bitlocker 2019-04-21
lj245a引脚功能图_谁找到74254,74LS245芯片引脚的功能和功能图啊? 2019-04-21
sts 创建webservice项目_通过eclipse将Java生成webservice | 学步园 2019-04-21
python数字字符串和数字相加_数字和字符串 2019-04-21
python风控模型举例_一文搞定风控模型6大核心指标(附代码) 2019-04-21
java arraylist 写入文件_java-将自定义对象的ArrayList写入文件 2019-04-21
ice glacier2 java_ICE提纲之demo/Glacier2/callback(跨网回调) 2019-04-21
java 转发上传文件_java 后台请求其他接口转发文件 2019-04-21
Java get set 同步_java – getResultSet()“每个结果只能调用一次” 2019-04-21
java jmx 配置_为什么在配置JMX时Java打开3个端口? 2019-04-21
java thread回调_使用Runnable在Java中实现回调 2019-04-21
java 内存区_Java内存模型和Java内存区域的区别和联系? 2019-04-21
java定时任务监控_Spring定时任务使用及如何使用邮件监控服务器 2019-04-21
java crc32 使用_Java CRC32的用法 2019-04-21
java读取unicode_java怎么样将unicode解码读取?Java读取本地文件进 2019-04-21
java.io.file()_Java File getUsableSpace()方法 2019-04-21
java httpclient 工具_spring整合httpClient工具类 2019-04-21
java监控其他服务器运行状态_windows服务器监控多个tomcat运行状态 2019-04-21
java给学生按总成绩排名_java - 输入学生成绩,取它们的平均值,然后通过排名等级的学生 - SO中文参考 - www.soinside.com... 2019-04-21
java构造函数有什么用_java构造函数有什么用,怎么用 2019-04-21