2015-10-25 43 views
2

源代碼調試模式和拆卸調試模式之間進行切換,源代碼調試模式和在LLDB拆卸調試模式之間如何切換像「Xcode->調試 - >調試工作流 - >總是顯示拆卸」菜單功能?如何LLDB

回答

4

這四個設置控制LLDB顯示源/組件當你停止:

stop-disassembly-count -- The number of disassembly lines to show when displaying a stopped context. 
    stop-disassembly-display -- Control when to display disassembly when displaying a stopped context. 
    stop-line-count-after -- The number of sources lines to display that come after the current source line when displaying a stopped context. 
    stop-line-count-before -- The number of sources lines to display that come before the current source line when displaying a stopped context. 

因此,例如:

(lldb) set set stop-disassembly-display always 
(lldb) set set stop-line-count-before 0 
(lldb) set set stop-line-count-after 0 

只會顯示組件。