首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在LLDB中在源代码调试模式和反汇编调试模式之间切换

如何在LLDB中在源代码调试模式和反汇编调试模式之间切换
EN

Stack Overflow用户
提问于 2015-10-26 02:10:08
回答 1查看 3.6K关注 0票数 6

如何在LLDB中切换源代码调试模式和反汇编调试模式,比如"Xcode-> debug ->Debug Workflow->Always show disassembly“菜单功能?

EN

回答 1

Stack Overflow用户

发布于 2015-10-27 03:33:18

这四个设置控制当您停止时lldb如何显示源/程序集:

代码语言:javascript
复制
  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提示符下:

代码语言:javascript
复制
set set stop-disassembly-display always
set set stop-line-count-before 0
set set stop-line-count-after 0

将仅显示程序集。

票数 11
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33333165

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档