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