• profiling


    po [[UIWindow keyWindow] recursiveDescription] : print all hierarchy under main window
    po [[[UIWindow keyWindow] rootViewController] _printHierarchy] : print all hierarchy under rootViewController
    bt : print all call stack info for current thread
    bt all : print all call stack info for all threads
    help : list all commands
    help <command> : list the description for this command
    print/pri/p : print value
    expression/e count = 42 : modify value
    e-- equals print : print value
    e -o -- equals po : print object(not simple value)
    p/<fmt> eg: p/x 16 --> ox10 : print format p/t 16 binary print p/s print string p/c print char
    e int $a = 2; p $a * 19 ----> 38
    process continue/continue/c : Continue debugging
    thread step-over/next/n : Step over
    step-in/step/s : step into
    finish/f:step out
    frame info : tell you current line number and source file
    x/4c $str : inspect 4 bytes of char array $str
    ! e (void)free($str) : free memory
    po [[[UIApplication sharedApplication] keyWindow] recursiveDescription] : print all hierarchy in main window of global context
    -------------Updating UI---------------------
    e id $myView = (id)0x7f82b1d01fd0 : define a View variable $myView
    e (void)[$myView setBackgroundColor:[UIColor blueColor]] : set backgroundColor of $myView
    e (void)[CATransaction flush] : Notify the render server to response to the flush changes
    ---------------------------------------------
    -------------------Finding the Tap handler for Button----------------------------
    po [$myButton allTargets] : show {(<MagicEventListener: 0x7fb58bd2e240)}
    po [$myButton actionsForTarget:(id)0x7fb58bd2e240 forControlEvent:0] : show <__NSArrayM 0x7fb58bd2aa40>(_handleTap)
    The handler is [MagicEventListener _handleTap:]
    ---------------------------------------------------------------------------------

  • 相关阅读:
    1级搭建类106-Oracle 19c 单实例 FS(华为云)公开
    table表格超出部分显示省略号
    hibernate自动创建表报表不存在
    TCP/IP协议三次握手与四次挥手
    struts2运行流程
    Errors occurred during the build. Errors running builder 'Validation' on pro
    ads查询结果中文显示方框问题
    plsql登录报错身份证明检索失败
    隐藏域传值到后台controller
    获取select被选中的option的值
  • 原文地址:https://www.cnblogs.com/xiaomaogong/p/3713475.html
Copyright © 2020-2023  润新知