iPhone模拟器调试时刷新/重绘视图?
有人知道调试代码时如何重绘视图吗? 当 Xcode 处于调试器模式时,不刷新屏幕。如果我添加视图或按钮,屏幕上不会显示任何内容!
anyone does knows how redraw a view when debugging code?
When Xcode is in the debugger mode, doesn't refresh the screen. If I add a view or a button, nothing is show on the screen!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您正在寻找 swift 等效项:
只要您手动设置表达式语言,您仍然可以在 swift 上下文中使用 Objective-C 版本:
If you're looking for the swift equivalent:
You can still use the objective-c version in a swift context so long as you manually set the expression language:
否 - 您需要重建项目,以便将最新的应用程序部署到模拟器
No - you need to rebuild the project so it deploys the latest app to the Simulator
当应用程序暂停时,您可以在调试器中使用下面的 LLDB 命令在模拟器或设备上进行实时更新:
如果您有 Chisel 使用别名
caflush
When the application is paused you can update live in the simulator or on the device while you are still in the debugger using the LLDB command below:
if you have Chisel use the alias
caflush