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

  • 相关阅读:
    程序员需要看的书
    linux常见命令实践.
    数据库使用简单总结
    剑指offer【书】之简历抒写
    面试中自己项目和你应该问的问题环节总结
    Matlab近期用到的函数(持续更新)
    排序-快速排序算法
    系统运维-hub, repeater, switch, router初览
    C++基础-位运算
    排序-冒泡排序
  • 原文地址:https://www.cnblogs.com/xiaomaogong/p/3713475.html
Copyright © 2011-2022 走看看