XCode調(diào)試LLDB

XCode版本:9.2 (9C40b)

  • apropos
    -- List debugger commands related to a word or subject.
    列出與單詞或主題相關(guān)的調(diào)試器命令隘道。

  • breakpoint
    -- Commands for operating on breakpoints (see 'help b' for
    shorthand.)
    在斷點(diǎn)上運(yùn)行的命令(參見'help b'速記爱沟。)

  • bugreport
    -- Commands for creating domain-specific bug reports.
    用于創(chuàng)建特定于域的錯(cuò)誤報(bào)告的命令。

  • 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.
    拆解當(dāng)前的指定說明目標(biāo)者铜。默認(rèn)為當(dāng)前的函數(shù)當(dāng)前線程和堆棧幀腔丧。

  • expression
    -- Evaluate an expression on the current thread. Displays
    any returned value with LLDB's default formatting.
    評(píng)估當(dāng)前線程上的表達(dá)式。顯示器任何返回值與LLDB的默認(rèn)格式作烟。

  • frame
    -- Commands for selecting and examing the current thread's
    stack frames.
    選擇和檢查當(dāng)前線程的命令堆棧幀愉粤。

  • gdb-remote
    -- Connect to a process via remote GDB server. If no host
    is specifed, localhost is assumed.
    通過遠(yuǎn)程GDB服務(wù)器連接到進(jìn)程。如果沒有主機(jī)被指定拿撩,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.
    顯示所有調(diào)試器命令的列表压恒,或者提供詳細(xì)信息關(guān)于一個(gè)特定的命令影暴。

  • kdp-remote
    -- Connect to a process via remote KDP server. If no UDP
    port is specified, port 41139 is assumed.
    通過遠(yuǎn)程KDP服務(wù)器連接到進(jìn)程。如果沒有UDP端口被指定探赫,端口41139被假定型宙。

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

  • log
    -- Commands controlling LLDB internal logging.
    控制LLDB內(nèi)部記錄的命令期吓。

  • memory
    -- Commands for operating on memory in the current target
    process.
    用于在當(dāng)前目標(biāo)中對(duì)內(nèi)存進(jìn)行操作的命令處理早歇。

  • platform
    -- Commands to manage and create platforms.
    管理和創(chuàng)建平臺(tái)的命令倾芝。

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

  • process
    -- Commands for interacting with processes on the current
    platform.
    與當(dāng)前進(jìn)程交互的命令平臺(tái)箭跳。

  • quit
    -- Quit the LLDB debugger.
    退出LLDB調(diào)試器晨另。

  • register
    -- Commands to access registers for the current thread and
    stack frame.
    訪問當(dāng)前線程和寄存器的命令堆棧框架谱姓。

  • script
    -- Invoke the script interpreter with provided code and
    display any results. Start the interactive interpreter
    if no code is supplied.
    用提供的代碼和調(diào)用腳本解釋器顯示任何結(jié)果借尿。啟動(dòng)交互式解釋器如果沒有代碼提供。

  • settings
    -- Commands for managing LLDB settings.
    用于管理LLDB設(shè)置的命令屉来。

  • source
    -- Commands for examining source code described by debug
    information for the current target process.
    檢查由調(diào)試描述的源代碼的命令當(dāng)前目標(biāo)進(jìn)程的信息路翻。

  • target
    -- Commands for operating on debugger targets.
    用于在調(diào)試器目標(biāo)上運(yùn)行的命令。

  • thread
    -- Commands for operating on one or more threads in the
    current process.
    在一個(gè)或多個(gè)線程上運(yùn)行的命令當(dāng)前進(jìn)程茄靠。

  • type
    -- Commands for operating on the type system.
    在類型系統(tǒng)上運(yùn)行的命令茂契。

  • version
    -- Show the LLDB debugger version.
    顯示LLDB調(diào)試器版本。

  • watchpoint
    -- Commands for operating on watchpoints.
    用于在觀察點(diǎn)上操作的命令慨绳。

Current command abbreviations (type 'help command alias' for more info):
當(dāng)前命令縮寫(更多信息請(qǐng)輸入“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.
    將調(diào)試符號(hào)文件添加到目標(biāo)的當(dāng)前模塊之一 通過指定調(diào)試符號(hào)文件的路徑掉冶,或使用選項(xiàng)來指定一個(gè)模塊下載符號(hào)。

  • attach
    -- Attach to process by ID or name.
    通過ID或名稱附加到進(jìn)程脐雪。

  • b
    -- Set a breakpoint using one of several shorthand formats.
    使用幾種簡(jiǎn)寫格式之一來設(shè)置斷點(diǎn)厌小。

  • bt
    -- Show the current thread's call stack. Any numeric argument
    displays at most that many frames. The argument 'all' displays
    all threads.
    顯示當(dāng)前線程的調(diào)用堆棧。任何數(shù)字參數(shù)最多顯示多個(gè)幀战秋。顯示“全部”參數(shù)所有線程璧亚。

  • c
    -- Continue execution of all threads in the current process.
    繼續(xù)執(zhí)行當(dāng)前進(jìn)程中的所有線程。

  • call
    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在當(dāng)前線程上評(píng)估一個(gè)表達(dá)式脂信。顯示任何
    以LLDB的默認(rèn)格式返回值癣蟋。

  • continue
    -- Continue execution of all threads in the current process.
    繼續(xù)執(zhí)行當(dāng)前進(jìn)程中的所有線程。

  • detach
    -- Detach from the current target process.
    從當(dāng)前目標(biāo)進(jìn)程中分離出來吉嚣。

  • di
    -- Disassemble specified instructions in the current target.
    Defaults to the current function for the current thread and
    stack frame.
    反匯編當(dāng)前目標(biāo)中的指定指令梢薪。默認(rèn)為當(dāng)前線程的當(dāng)前函數(shù)堆棧框架尝哆。

  • dis
    -- Disassemble specified instructions in the current target.
    Defaults to the current function for the current thread and
    stack frame.
    反匯編當(dāng)前目標(biāo)中的指定指令。默認(rèn)為當(dāng)前線程的當(dāng)前函數(shù)堆椞鹋剩框架秋泄。

  • display
    -- Evaluate an expression at every stop (see 'help target
    stop-hook'.)
    在每一站評(píng)估表達(dá)(請(qǐng)參閱“幫助目標(biāo)”停止掛機(jī)”。)

  • down
    -- Select a newer stack frame. Defaults to moving one frame, a
    numeric argument can specify an arbitrary number.
    選擇一個(gè)較新的堆棧幀规阀。默認(rèn)移動(dòng)一幀恒序,a數(shù)字參數(shù)可以指定任意數(shù)字。

  • env
    -- Shorthand for viewing and setting environment variables.
    查看和設(shè)置環(huán)境變量的簡(jiǎn)寫谁撼。

  • exit
    -- Quit the LLDB debugger.
    退出LLDB調(diào)試器歧胁。

  • f
    -- Select the current stack frame by index from within the current
    thread (see 'thread backtrace'.)
    從當(dāng)前的索引中選擇當(dāng)前的堆棧幀線程(請(qǐng)參閱“線程回溯”)。

  • file
    -- Create a target using the argument as the main executable.
    使用參數(shù)作為主要的可執(zhí)行文件創(chuàng)建一個(gè)目標(biāo)。

  • finish
    -- Finish executing the current stack frame and stop after
    returning. Defaults to current thread unless specified.
    完成當(dāng)前堆棧幀的執(zhí)行并停止返回喊巍。除非指定屠缭,否則默認(rèn)為當(dāng)前線程。

  • image
    -- Commands for accessing information for one or more target
    modules.
    用于訪問一個(gè)或多個(gè)目標(biāo)的信息的命令模塊崭参。

  • j
    -- Set the program counter to a new address.
    將程序計(jì)數(shù)器設(shè)置為新地址呵曹。

  • jump
    -- Set the program counter to a new address.
    將程序計(jì)數(shù)器設(shè)置為新地址。

  • kill
    -- Terminate the current target process.
    終止當(dāng)前目標(biāo)進(jìn)程何暮。

  • l
    -- List relevant source code using one of several shorthand formats.
    使用幾種簡(jiǎn)寫格式之一列出相關(guān)的源代碼奄喂。

  • list
    -- List relevant source code using one of several shorthand formats.
    使用幾種簡(jiǎn)寫格式之一列出相關(guān)的源代碼。

  • n
    -- Source level single step, stepping over calls. Defaults to
    current thread unless specified.
    來源級(jí)別單步驟海洼,跨越通話跨新。默認(rèn)為當(dāng)前線程,除非指定坏逢。

  • next
    -- Source level single step, stepping over calls. Defaults to
    current thread unless specified.
    來源級(jí)別單步驟玻蝌,跨越通話。默認(rèn)為當(dāng)前線程词疼,除非指定俯树。

  • nexti
    -- Instruction level single step, stepping over calls. Defaults to
    current thread unless specified.
    指令級(jí)單步執(zhí)行,逐步調(diào)用贰盗。默認(rèn)為當(dāng)前線程许饿,除非指定。

  • ni
    -- Instruction level single step, stepping over calls. Defaults to
    current thread unless specified.
    指令級(jí)單步執(zhí)行舵盈,逐步調(diào)用陋率。默認(rèn)為當(dāng)前線程,除非指定秽晚。

  • p
    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在當(dāng)前線程上評(píng)估一個(gè)表達(dá)式瓦糟。顯示任何以LLDB的默認(rèn)格式返回值。

  • parray
    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在當(dāng)前線程上評(píng)估一個(gè)表達(dá)式赴蝇。顯示任何以LLDB的默認(rèn)格式返回值菩浙。

  • po
    -- Evaluate an expression on the current thread. Displays any
    returned value with formatting controlled by the type's author.
    在當(dāng)前線程上評(píng)估一個(gè)表達(dá)式。顯示任何返回值的格式由該作者控制句伶。

  • poarray
    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在當(dāng)前線程上評(píng)估一個(gè)表達(dá)式劲蜻。顯示任何以LLDB的默認(rèn)格式返回值。

  • print
    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在當(dāng)前線程上評(píng)估一個(gè)表達(dá)式考余。顯示任何以LLDB的默認(rèn)格式返回值先嬉。

  • q
    -- Quit the LLDB debugger.
    退出LLDB調(diào)試器。

  • r
    -- Launch the executable in the debugger.
    在調(diào)試器中啟動(dòng)可執(zhí)行文件楚堤。

  • rbreak
    -- Sets a breakpoint or set of breakpoints in the executable.
    在可執(zhí)行文件中設(shè)置一個(gè)斷點(diǎn)或一組斷點(diǎn)疫蔓。

  • repl
    -- Evaluate an expression on the current thread. Displays any
    returned value with LLDB's default formatting.
    在當(dāng)前線程上評(píng)估一個(gè)表達(dá)式含懊。顯示任何以LLDB的默認(rèn)格式返回值。

  • run
    -- Launch the executable in the debugger.
    在調(diào)試器中啟動(dòng)可執(zhí)行文件衅胀。

  • s
    -- Source level single step, stepping into calls. Defaults to
    current thread unless specified.
    來源級(jí)單步驟岔乔,進(jìn)入呼叫。默認(rèn)為當(dāng)前線程拗小,除非指定重罪。

  • si
    -- Instruction level single step, stepping into calls. Defaults to
    current thread unless specified.
    指令級(jí)單步,加入呼叫哀九。默認(rèn)為當(dāng)前線程剿配,除非指定。

  • sif
    -- Step through the current block, stopping if you step directly
    into a function whose name matches the TargetFunctionName.
    逐步通過當(dāng)前塊阅束,如果直接步進(jìn)則停止轉(zhuǎn)換成名稱與TargetFunctionName匹配的函數(shù)呼胚。

  • step
    -- Source level single step, stepping into calls. Defaults to
    current thread unless specified.
    來源級(jí)單步驟,進(jìn)入呼叫息裸。默認(rèn)為當(dāng)前線程蝇更,除非指定。

  • stepi
    -- Instruction level single step, stepping into calls. Defaults to
    current thread unless specified.
    指令級(jí)單步呼盆,加入呼叫年扩。默認(rèn)為當(dāng)前線程,除非指定访圃。

  • t
    -- Change the currently selected thread.
    更改當(dāng)前選擇的線程厨幻。

  • tbreak
    -- Set a one-shot breakpoint using one of several shorthand
    formats.
    使用幾種簡(jiǎn)寫中的一種設(shè)置一次性斷點(diǎn)格式。

  • undisplay
    -- Stop displaying expression at every stop (specified by stop-hook
    index.)
    停止在每個(gè)停止處顯示表達(dá)式(由stop-hook指定)指數(shù)腿时。)

  • up
    -- Select an older stack frame. Defaults to moving one frame, a
    numeric argument can specify an arbitrary number.
    選擇一個(gè)較舊的堆棧幀况脆。 默認(rèn)移動(dòng)一幀,a數(shù)字參數(shù)可以指定任意數(shù)字批糟。

  • x
    -- Read from the memory of the current target process.
    從當(dāng)前目標(biāo)進(jìn)程的內(nèi)存中讀取格了。

For more information on any command, type 'help <command-name>'.
有關(guān)任何命令的更多信息,請(qǐng)鍵入“help <command-name>”徽鼎。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末盛末,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子纬傲,更是在濱河造成了極大的恐慌满败,老刑警劉巖,帶你破解...
    沈念sama閱讀 217,185評(píng)論 6 503
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件叹括,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡宵荒,警方通過查閱死者的電腦和手機(jī)汁雷,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,652評(píng)論 3 393
  • 文/潘曉璐 我一進(jìn)店門净嘀,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人侠讯,你說我怎么就攤上這事挖藏。” “怎么了厢漩?”我有些...
    開封第一講書人閱讀 163,524評(píng)論 0 353
  • 文/不壞的土叔 我叫張陵膜眠,是天一觀的道長(zhǎng)。 經(jīng)常有香客問我溜嗜,道長(zhǎng)宵膨,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,339評(píng)論 1 293
  • 正文 為了忘掉前任炸宵,我火速辦了婚禮辟躏,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘土全。我一直安慰自己捎琐,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,387評(píng)論 6 391
  • 文/花漫 我一把揭開白布裹匙。 她就那樣靜靜地躺著瑞凑,像睡著了一般。 火紅的嫁衣襯著肌膚如雪概页。 梳的紋絲不亂的頭發(fā)上籽御,一...
    開封第一講書人閱讀 51,287評(píng)論 1 301
  • 那天,我揣著相機(jī)與錄音绰沥,去河邊找鬼篱蝇。 笑死,一個(gè)胖子當(dāng)著我的面吹牛徽曲,可吹牛的內(nèi)容都是我干的零截。 我是一名探鬼主播,決...
    沈念sama閱讀 40,130評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼秃臣,長(zhǎng)吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼涧衙!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起奥此,我...
    開封第一講書人閱讀 38,985評(píng)論 0 275
  • 序言:老撾萬榮一對(duì)情侶失蹤弧哎,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后稚虎,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體撤嫩,經(jīng)...
    沈念sama閱讀 45,420評(píng)論 1 313
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,617評(píng)論 3 334
  • 正文 我和宋清朗相戀三年蠢终,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了序攘。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片茴她。...
    茶點(diǎn)故事閱讀 39,779評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖程奠,靈堂內(nèi)的尸體忽然破棺而出丈牢,到底是詐尸還是另有隱情,我是刑警寧澤瞄沙,帶...
    沈念sama閱讀 35,477評(píng)論 5 345
  • 正文 年R本政府宣布己沛,位于F島的核電站,受9級(jí)特大地震影響距境,放射性物質(zhì)發(fā)生泄漏申尼。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,088評(píng)論 3 328
  • 文/蒙蒙 一肮疗、第九天 我趴在偏房一處隱蔽的房頂上張望晶姊。 院中可真熱鬧,春花似錦伪货、人聲如沸们衙。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,716評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽蒙挑。三九已至,卻和暖如春愚臀,著一層夾襖步出監(jiān)牢的瞬間忆蚀,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,857評(píng)論 1 269
  • 我被黑心中介騙來泰國(guó)打工姑裂, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留馋袜,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 47,876評(píng)論 2 370
  • 正文 我出身青樓舶斧,卻偏偏與公主長(zhǎng)得像欣鳖,于是被迫代替她去往敵國(guó)和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子茴厉,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,700評(píng)論 2 354

推薦閱讀更多精彩內(nèi)容

  • //聯(lián)系人:石虎QQ: 1224614774昵稱:嗡嘛呢叭咪哄 一泽台、概念 英文版:詳細(xì)鏈接:點(diǎn)擊跳轉(zhuǎn)鏈接 Debu...
    石虎132閱讀 523評(píng)論 1 4
  • [轉(zhuǎn)]淺談LLDB調(diào)試器文章來源于:http://www.cocoachina.com/ios/20150126/...
    loveobjc閱讀 2,506評(píng)論 2 6
  • LLDB的Xcode默認(rèn)的調(diào)試器,它與LLVM編譯器一起矾缓,帶給我們更豐富的流程控制和數(shù)據(jù)檢測(cè)的調(diào)試功能怀酷。平時(shí)用Xc...
    CoderSC閱讀 1,358評(píng)論 0 2
  • 別人說寫作分為兩種蜕依,一種是寫給自己的,一種是寫給別人的。而寫作之于我笔横,也分為兩種竞滓,一種是用筆和紙來記錄的咐吼,另一種則...
    謝小蔥啊閱讀 523評(píng)論 3 7
  • 最近使用JTMz作為開發(fā)環(huán)境吹缔,這樣就不用單獨(dú)安裝每個(gè)軟件了。但是把JTMz移動(dòng)到另外一個(gè)位置之后锯茄,MySQL服務(wù)啟...
    _大風(fēng)起兮云飛揚(yáng)_閱讀 541評(píng)論 0 1