zoukankan      html  css  js  c++  java
  • 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:]
    ---------------------------------------------------------------------------------

  • 相关阅读:
    hibernate二级缓存
    hibernateHQL语句
    hibernate之多对多关系
    SPA项目开发之登录注册
    使用vue-cli搭建SPA项目
    elementUI+nodeJS环境搭建
    Vue路由
    Vue模板语法下集
    网页源码爬取
    Vue模板语法上集
  • 原文地址:https://www.cnblogs.com/xiaomaogong/p/3713475.html
Copyright © 2011-2022 走看看