LLDB

1,設(shè)置斷點(diǎn)

breakpoint set -n "name"

breakpoint list 查看當(dāng)前point列表

breakpoint set -n --selector "func" 設(shè)置所有方法的斷點(diǎn)
breakpoint set --file --selector "func"

breakpoint set -r Game 設(shè)置包含Game字符的方法斷點(diǎn)

thread return 執(zhí)行回滾

continue 繼續(xù)執(zhí)行 c
next 單步執(zhí)行 n 會(huì)把子函數(shù)當(dāng)做整體
step in 會(huì)進(jìn)入子函數(shù) s

breakpoint command add 1
breakpoint command delete
breakpoint command list

stop-hook
在你每次stop的時(shí)候都會(huì)執(zhí)行一些命令,只對breakpoint,watchpoint有效

target stop-hook add -o
target stop-hook list

target stop-hook delete

image lookup
x= memory read

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 一、概述 LLDB全稱 [ Low Level Debugger ], 默認(rèn)內(nèi)置于Xcode中的動(dòng)態(tài)調(diào)試工具。標(biāo)準(zhǔn)...
    Superman168閱讀 15,504評(píng)論 2 19
  • LLDB的Xcode默認(rèn)的調(diào)試器,它與LLVM編譯器一起,帶給我們更豐富的流程控制和數(shù)據(jù)檢測的調(diào)試功能。平時(shí)用Xc...
    小笨狼閱讀 20,805評(píng)論 31 186
  • ??LLDB的Xcode默認(rèn)的調(diào)試器,它與LLVM編譯器一起,帶給我們更豐富的流程控制和數(shù)據(jù)檢測的調(diào)試功能。平時(shí)用...
    Thinkdifferents閱讀 1,951評(píng)論 1 4
  • [TOC] MachO文件結(jié)構(gòu) 單個(gè)架構(gòu)的mach-O文件包含:MachO Header、Load Command...
    _順_1896閱讀 500評(píng)論 0 0
  • LLDB的使用指令 斷點(diǎn)設(shè)置 通過名字設(shè)置C的斷點(diǎn) 假設(shè)有個(gè)方法 通過命令在age上設(shè)置斷點(diǎn) 其中 -n是--na...
    立志成為卓越逆向工程師的小仙女閱讀 792評(píng)論 0 4

友情鏈接更多精彩內(nèi)容