-
-
Save aratkevich/756563cf76ff4faeab0f973aee74452b to your computer and use it in GitHub Desktop.
Xcode Useful LLDB commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
po [[UIApp keyWindow] recursiveDescription] | |
expr (void)[0x14b98920 setFrame:CGRectMake(70,40,150,25)] | |
po (void)[0x7852560 setClipsToBounds:NO] | |
po (void)[0x7852560 setFrame:(CGRect) { 13, 248, 295, 184 + 20 }] | |
po [0x7852560 setFrame:(CGRect) { 13, 248, 295, 184 + 37 }] | |
po (CGRect)[0x7852560 frame] | |
po (int)[ids count] | |
e id $btn= (id)0xakjflajdf | |
p (CGPoint)[$btn convertPoint:(CGPoint)[$imgView center] fromView:$imgView] | |
po [[UIWindow keyWindow] _autolayoutTrace] | |
po [0x7191be0 constraintsAffectingLayoutForAxis:0] | |
e (CGRect)[(UIImageView *)0x7f9c43fc5a40 frame] | |
expr CGRect rect; rect.origin.x=0; rect.origin.y=0;rect.size.width=375;rect.size.height=600;(void)[$imageView setFrame:rect]; | |
e (void)[0x7f908323f8e0 setBackgroundColor:[UIColor redColor]]; | |
e (void)[CATransaction flush] | |
e CGRect $rect = (CGRect)[$chatimg frame] | |
p $rect | |
(CGRect) $rect = (origin = (x = 10, y = 8), size = (width = 50, height = 50)) | |
e $rect.origin.y = 10 | |
(CGFloat) $5 = 10 | |
p $rect | |
(CGRect) $rect = (origin = (x = 10, y = 10), size = (width = 50, height = 50)) | |
expr sGrantDebuggerPermissionToStopExecution = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment