Xcode debugging - displaying images

前端 未结 7 859
臣服心动
臣服心动 2020-12-07 15:04

I love using the Xcode debugger. You can take a look at a variable\'s value and even change it.

But can I somehow DISPLAY the image that is referenced by an image va

7条回答
  •  旧巷少年郎
    2020-12-07 15:44

    If you like to work with the lldb console, use chisel command "visualize"

    tip:

    after the installation, you can set a conditional breakpoint after setting the UIImage with the action: "visualize myUIImageToShowWithQuickLook"

    this will show you the image automatically when the debugger stops.

提交回复
热议问题