LLDB common debugging commands

1: expression

2: call the same basic function and expression

3: po p output target output of the basic data types

4: memery write memory array address

5: memery read / format _ _ Number of bytes of memory address | x / format _ _ Number of bytes of memory addresses

6: Breakpoint command bt, br list

7: Memory breakpoint watchpoint set variable xxx | watchpoint set expression xxx

8: Dynamic code logic such as injection: breacpoint set -one-shot ture --name "xxx"

9: masnary Find Constraint Violation of view

Myvi ID = $ E (ID) 0x7ffa9d51a8b0  // conflict address view 
E ( void ) [$ Myvi setBackgroundColor: [UIColor redColor]] // set the background color 
E ( void ) [CATransaction the flush] // execute

 

 

https://www.jianshu.com/p/17600324656a

 

https://github.com/ming1016/study/wiki/Xcode%E8%B0%83%E8%AF%95%E4%B9%8BLLDB

Guess you like

Origin www.cnblogs.com/jisa/p/11287286.html