View debugging in lldb

Updated
Feb 4, 2022 4:27 AM
Created
Feb 3, 2022 6:44 AM
Tags
Attributes

expr -l objc++ -O -- [UIViewController _printHierarchy]

expr -l objc++ -O -- [[UIWindow keyWindow] recursiveDescription]

command alias poc expression -l objc -O --
poc [UIViewController _printHierarchy]

view.perform("recursiveDescription")

Use Swift

settings set target.language swift
expr import UIKit