• 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:]
    ---------------------------------------------------------------------------------

  • 相关阅读:
    Delphi接口
    delphi cxgrid导出excel去除货币符号
    DelphiXE4- System.IOUtils.TDirectory笔记查询后缀名为dll的文件
    Kivy中文显示
    AppDomain与进程、线程、Assembly之间关系
    Attributes(2): Displaying attributes for a class.(显示类属性)
    Attributes(2): Displaying attributes for a class.(显示类属性)
    Attributes(1):反射Attribute并输出
    大数据乘法
    Qt中利用QDomDocument读写xml小Demo
  • 原文地址:https://www.cnblogs.com/xiaomaogong/p/3713475.html
Copyright © 2020-2023  润新知