RyukieDev
  • 关于我-AboutMe
  • 我的作品-MyApps
    • 「梦见」账本
      • 「梦见」账本(Umemi):极致的记账体验
      • 隐私协议:Privacy Policy
      • 服务协议:Terms of use
      • 外观预览:Preview
        • 赛博朋克-Cyberpunk
        • 樱-Sakura
        • 初恋-FirstLove
        • 永生-Eternal
        • 菲尼克斯-Phoenix
        • 报丧女妖-Banshee
        • 九霄-NYXL
        • Dream
        • 猕猴桃-Kiwi
        • 蜂蜜-Hachimitsu
        • DC
    • Elic-扫雷无尽天梯
    • 隐私访问记录
      • 03.如何分析iOS15隐私访问记录
      • PrivacyPolicy
      • FrameWorks
    • 醒词
      • PrivacyPolicy
      • TermsOfUse
    • 一色
      • PrivacyPolicy
    • 醒诗
      • PrivacyPolicy
    • 醒词键盘
      • PrivacyPolicy
    • 中文数字键盘
      • PrivacyPolicy
  • 独立开发
    • 产运
      • 01.没钱推广?这忘了这100美元
      • 02.在个人站点配置app-ads
      • 03.应用图标圆角
      • 04.iOS独立开发者注册公司到App备案上架.md
    • iCloud
      • 01.基于iCloud构建用户体系
      • 02.基于iCloud构建游戏内排行榜
  • Swift
    • 01.纯Swift路由方案探究
    • 02.使用Carthage替代CocoaPods
    • 03.逃逸闭包和非逃逸闭包
    • 04.向下向上取整
    • 05.Copy-on-write
    • 06.OC老项目Swift混编的一些坑
    • 07.OC项目中加入Swift混编
    • 08.Optional实质
    • 09.R-Swift-安全的资源组织方案forSwift
    • 10.Struct与Class
    • 11.Swift5新特性
    • 12.Swift性能分析
    • 13.SwiftPackage使用
    • 14.String与Substring
    • 15.Array,Set,Dictionary
    • 16.For-in跳跃遍历
    • 17.Switch元祖
    • 18.循环的标签控制
    • 19.Protocol与静态派发、动态派发
    • 20.Swift位移枚举
    • 21.Swift轻量级网络封装:SwiftyServiceProtocol(适用于混编或纯Swift项目)
    • 22.open与public
    • 23.Swift项目编译速度优化
    • 24.[译]编写高性能Swift代码-Writing High-Performance Swift Code(2022.8.25版)
    • 25.Swift编译流程
    • 26.Swift方法调度
  • SwiftUI
    • 01.Form
    • 02.Navigation
    • 03.ViewBuilder参数10个限制
    • 04.UIKit混编时Dismiss掉HostController
    • 05.如何在SwiftUI中使用ImagePicker?
    • 06.从some看Swift不透明类型
    • 07.TabView使用
    • 08.openURL
    • 09.Search
    • 10.SwifUI中使用WKWebView
  • DeepLearning
    • 基础知识
      • 01.感知机与神经网络
      • 02.线性可分
    • TensorFlow
      • 01.Anaconda
      • 02.JupyterNotebook
      • 03.安装TensorFlow
  • iOS
    • 底层
      • 01.alloc与字节对齐
      • 02.结构体内存对齐
      • 03.对象本质探究与isa
      • 04.ISA与Class
      • 05.深入探索Class的结构
      • 06.WWDC20-runtime优化
      • 07.深入探究属性
      • 08.isKindOfClass的底层实现
      • 09.slowpath和fastpath
      • 10.Class-cache_t
      • 11.源码解读objc_msgSend
      • 12.类的实现与初始化源码解读
      • 13.动态决议与消息转发
      • 14.iOS应用启动(一):dyld与main函数
      • 15.iOS应用启动(二):环境配置与runtime初始化
      • 16.iOS应用启动(三):镜像文件的读取和加载
      • 17.iOS应用启动(四):分类的加载
      • 18.关联对象源码解析
      • 19.MethodSwizzing方法交换的坑
      • 20.详解KVC
      • 21.KVO几个被忽视的细节
      • 22.KVO底层原理
      • 23.多线程原理与atomic
      • 24.任务与队列的几个面试题
      • 25.dispatch_once单例实现原理
      • 26.栅栏函数
      • 27.信号量
      • 28.锁|性能分析
      • 29.锁|@synchronized
      • 30.锁|递归锁
      • 31.锁|NSConditionLock
      • 32.关于Block你所该知道的一切
    • 内存管理
      • 01.从一个面试题看TaggedPointer
      • 02.Retain&Release
      • 03.SideTable和weak底层实现
      • 04.Timer优化
      • 05.自动释放池与Runloop
      • 06.dealloc
    • 编译器
      • 01.LLVM
    • 杂项
      • 01.堆栈的深度问题
      • 02.使用TTF字体
      • 03.为什么选VIPER
      • 04.项目路由方案
      • 05.隐藏导航栏下面的线
      • 06.源代码到IPA
      • 07.iOS重签名调研
      • 08.load与-initialize
      • 09.NSTimer与GCD
      • 10.NSURLConnection-和-NSURLSession
      • 11.Storyboard中UnwindSegue的使用
      • 12.UI调试-UIDebuggingInformationOverlay
      • 13.UIWebView和WKWebView
      • 14.UIWebView自适应高度
      • 15.weak实现原理
    • Runloop
      • 01.RunLoop
      • 02.autoreleasepool
    • Runtime
      • 01.基本操作
      • 02.实现NSCoding的自动归档和自动解档
      • 03.消息机制
      • 04.重写description打印对象信息
      • 05.MethodSwizzling的问题
    • 优化
      • 01.Apple官方资源瘦身方案ODR(一):初见
      • 02.Apple官方资源瘦身方案ODR(二):践行|换肤系统改造
      • 03.二进制重排实践
      • 04.iOS截屏防护方案
      • 05.提高编译速度
      • 06.图片格式-WebP
      • 07.App启动速度优化
      • 08.IDL自动化埋点
      • 09.渲染原理及优化
      • 10.「利用 Metrics 和 Diagnostics 提高性能」网络研讨活动
      • 11.离屏渲染
      • 12.一键搞定iOS16横竖屏切换
    • 多线程
      • 01.合适的线程数量
      • 02.死锁
      • 03.为什么用dispatch-once实现单例
      • 04.iOS多线程方案
      • 05.iOS多线程技术对比
    • Database
      • 01.数据库主键和外键
      • 02.FMDB-死锁问题
      • 03.FMDB与WCDB
      • 04.SQLite数据库修复
    • 架构
      • 01.组件化
  • 逆向
    • 01.寄存器
    • 03.iOS应用签名原理
    • 04.利用Xcode进行重签名与调试
    • 05.dylib注入
    • 06.MachO文件
    • 07.dyld
    • 08.Hook
    • 09.深入理解动态库与静态库
    • 10.通过符号表找到符号
    • 11.fishhook原理
    • 12.去符号与恢复符号
    • 13.反HOOK防护(一):基于Fishhook
    • 14.反HOOK防护(二):Monkey
    • 15.Inlinehook:Dobby
    • 16.LLDB
    • 17.虚拟内存
    • 18.Chisel工具
    • 19.DS.LLDB工具
    • 20.Cycript工具
    • 21.Cycrupt用法
    • 22.Logos
    • 23.应用砸壳
    • 24.实战人人视频破解
    • 25.解密被加密的数据库文件
  • Flutter
    • 01.初见Flutter
    • 02.Layout
    • 03.状态管理
    • 04.BottomNavigationBar
    • 05.MaterialApp
    • 06.android资源配置
    • 07.Positioned与Container嵌套无法充满容器
    • 08.Cell点击跳转
    • 09.代码规范
    • 10.通过联系人Cell看断言
    • 11.有状态Widget初始化重写&链式调用&排序
    • 12.索引条:手势及clamp函数
    • 13.ListView滑动到指定位置
    • 14.悬浮菜单列表
    • 15.Mock数据小技巧
    • 16.第三方库导入与网络数据异步请求与展示
    • 17.请求数据保留
    • 18.异步编程之Future
    • 19.Future&Microtask
    • 20.Dart异步编程:Isolates和事件循环
    • 21.Widget的生命周期
    • 22.Widget树&Render树&Element树
    • 23.Key
    • 24.调用原生相册
    • 25.iOS原生嵌入FlutterModule
  • 网络
    • 01 网络分层的优点
    • 02 网络理解
    • 03 iOS-网络安全之HTTPS
    • 04 POST和GET
    • 05 SSL-TLS四次握手
  • 直播技术
    • 01 直播技术相关
    • Socket-Little-Endian-Big-Endian
  • 知识点梳理
    • 01 面试算法题记录01
    • 02 面试题记录-C语言
    • 08 一套iOS底层试卷
    • 03 知识点梳理:iOS底层
    • 04 知识点梳理:网络
    • 05 知识点梳理:多线程
    • 06 知识点梳理:计算机基础
    • 07 知识点梳理:算法数据结构
    • 09 知识点梳理:HTML和浏览器
    • 10 知识点梳理:JavaSctipt
  • Framework
    • 01 CodeReading-01-YYModel
    • 02 RYImagePicker-iOS图片视频选择器
    • 03 RYImagesScroller-iOS高度自定义的图片轮播器
    • 04 RYPhotosBrowser
  • Issue
    • 01 使用KVC设置UIAlertAction按钮颜色的Crash
    • 02 iOS-常见崩溃分析
    • 03 UICollectionView的一些问题
  • OpenGL ES
    • 01.顶点着色器与片元着色器
  • 数据结构与算法
    • 剑指Offer-Swift
      • 03.找出数组中重复的数字
      • 04.二维数组中的查找
      • 05.替换空格
      • 06.从尾到头打印链表
      • 07.重建二叉树
      • 12.矩阵中的路径(回溯法)
      • 13.机器人的运动范围
      • 14.I.剪绳子
      • 14.II.剪绳子
      • 15.二进制中1的个数(含一个拓展问题)
      • 16.数值的整数次方
      • 18.删除链表的节点
      • 21.调整数组顺序使奇数位于偶数前面
      • 22.链表中倒数第k个节点
      • 24.反转链表
      • 25.合并两个排序的链表
      • 26.树的子结构
      • 27.二叉树的镜像
      • 28.对称的二叉树
      • 29.顺时针打印矩阵
      • 30.包含min函数的栈(容易被误导的一题)
      • 31.栈的压入、弹出序列
      • 32.I.从上到下打印二叉树
      • 32.II.从上到下打印二叉树II
      • 32.III.从上到下打印二叉树III
      • 32.从上到下花式打印二叉树
      • 33.二叉搜索树的后序遍历序列
      • 34.二叉树中和为某一值的路径
      • 35.复杂链表的复制(无Swift用例)
      • 36.二叉搜索树与双向链表
      • 37.序列化二叉树
      • 39.数组中出现次数超过一半的数字
      • 40.最小的k个数
      • 41.数据流中的中位数
      • 42.连续子数组的最大和
      • 43.1~n整数中1出现的次数
      • 44.数字序列中某一位的数字
      • 45.把数组排成最小的数
      • 46.把数字翻译成字符串
      • 47.礼物的最大价值
      • 48.最长不含重复字符的子字符串
      • 50.第一个只出现一次的字符
      • 52.两个链表的第一个公共节点
      • 53-I.在排序数组中查找数字
      • 53-II.0~n-1中缺失的数字
      • 54.二叉搜索树的第k大节点
      • 55-I.二叉树的深度
      • 55-II.平衡二叉树
      • 56-I.数组中数字出现的次数
      • 56-II.数组中数字出现的次数II
      • 57.和为s的两个数字
      • 58-I.翻转单词顺序
      • 58-II.左旋转字符串
      • 59-I.滑动窗口的最大值
      • 59-II.队列的最大值
      • 60.n个骰子的点数
      • 61.扑克牌中的顺子
      • 62.圆圈中最后剩下的数字
      • 63.股票的最大利润
      • 64.求1+2+…+n
      • 65.不用加减乘除做加法
      • 66.构建乘积数组
      • 67.把字符串转换成整数
      • 68-I.二叉搜索树的最近公共祖先
      • 68-II.二叉树的最近公共祖先
    • 技巧
      • 01.前缀和
      • 02.同余性质
      • 03.快速幂
      • 04.快速排序
      • 05.深度优先&广度优先
      • 06.冒泡排序
      • 07.摩尔投票
      • 08.优先队列
    • 数据结构
Powered by GitBook
On this page
  • 说明
  • alamborder
  • alamunborder
  • binside
  • bmessage
  • border
  • caflush
  • dcomponents
  • dismiss
  • fa11y
  • flicker
  • fv
  • fvc
  • hide
  • mask
  • mwarning
  • pa11y
  • pa11yi
  • pactions
  • paltrace
  • panim
  • pbcopy
  • pblock
  • pbundlepath
  • pca
  • pcells
  • pclass
  • pcomponents
  • pcurl
  • pdata
  • pdocspath
  • pinternals
  • pinvocation
  • pivar
  • pjson
  • pkp
  • pmethods
  • poobjc
  • pproperties
  • present
  • presponder
  • ptv
  • pvc
  • pviews
  • rcomponents
  • setinput
  • settext
  • show
  • slowanim
  • taplog
  • unborder
  • unmask
  • unslowanim
  • visualize
  • vs
  • wivar

Was this helpful?

  1. 逆向

18.Chisel工具

Previous17.虚拟内存Next19.DS.LLDB工具

Last updated 3 years ago

Was this helpful?

Chisel is a collection of LLDB commands to assist in the debugging of iOS apps.

说明

alamborder

Put a border around views with an ambiguous layout. Expects 'raw' input (see 'help raw-input'.)

Syntax: alamborder Put a border around views with an ambiguous layout

Options: --color/-c \; Type: string; A color name such as 'red', 'green', 'magenta', etc. --width/-w \; Type: CGFloat; Desired width of border.

Syntax: alamborder [--color=color] [--width=width]

This command is implemented as FBAutolayoutBorderAmbiguous in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBAutoLayoutCommands.py.

alamunborder

Removes the border around views with an ambiguous layout. Expects 'raw' input (see 'help raw-input'.)

Syntax: alamunborder Removes the border around views with an ambiguous layout

Syntax: alamunborder

This command is implemented as FBAutolayoutUnborderAmbiguous in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBAutoLayoutCommands.py.

binside

Set a breakpoint for a relative address within the framework/library that's currently running. This does the work of finding the offset for the framework/library and sliding your address accordingly. Expects 'raw' input (see 'help raw-input'.)

Syntax: binside Set a breakpoint for a relative address within the framework/library that's currently running. This does the work of finding the offset for the framework/library and sliding your address accordingly.

Arguments: \; Type: string; Address within the currently running framework to set a breakpoint on.

Syntax: binside \

This command is implemented as FBFrameworkAddressBreakpointCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDebugCommands.py.

bmessage

Set a breakpoint for a selector on a class, even if the class itself doesn't override that selector. It walks the hierarchy until it finds a class that does implement the selector and sets a conditional breakpoint there. Expects 'raw' input (see 'help raw-input'.)

Syntax: bmessage Set a breakpoint for a selector on a class, even if the class itself doesn't override that selector. It walks the hierarchy until it finds a class that does implement the selector and sets a conditional breakpoint there.

Arguments: \; Type: string; Expression to set a breakpoint on, e.g. "-[MyView setFrame:]", "+[MyView awesomeClassMethod]" or "-[0xabcd1234 setFrame:]"

Syntax: bmessage \

This command is implemented as FBMethodBreakpointCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDebugCommands.py.

border

Draws a border around \. Color and width can be optionally provided. Additionally depth can be provided in order to recursively border subviews. Expects 'raw' input (see 'help raw-input'.)

Syntax: border Draws a border around \. Color and width can be optionally provided. Additionally depth can be provided in order to recursively border subviews.

Arguments: \; Type: UIView/NSView/CALayer *; The view/layer to border. NSViews must be layer-backed.

Options: --color/-c \; Type: string; A color name such as 'red', 'green', 'magenta', etc. --width/-w \; Type: CGFloat; Desired width of border. --depth/-d \; Type: int; Number of levels of subviews to border. Each level gets a different color beginning with the provided or default color

Syntax: border [--color=color] [--width=width] [--depth=depth] \

This command is implemented as FBDrawBorderCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

caflush

Force Core Animation to flush. This will 'repaint' the UI but also may mess with ongoing animations. Expects 'raw' input (see 'help raw-input'.)

Syntax: caflush Force Core Animation to flush. This will 'repaint' the UI but also may mess with ongoing animations.

Syntax: caflush

This command is implemented as FBCoreAnimationFlushCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

dcomponents

Set debugging options for components. Expects 'raw' input (see 'help raw-input'.)

Syntax: dcomponents Set debugging options for components.

Options: --set/-s ; Set debug mode for components --unset/-u ; Unset debug mode for components

Syntax: dcomponents [--set] [--unset]

This command is implemented as FBComponentsDebugCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBComponentCommands.py.

dismiss

Dismiss a presented view controller. Expects 'raw' input (see 'help raw-input'.)

Syntax: dismiss Dismiss a presented view controller.

Arguments: \; Type: UIViewController *; The view controller to dismiss.

Syntax: dismiss \

This command is implemented as FBDismissViewControllerCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

fa11y

Find the views whose accessibility labels match labelRegex and puts the address of the first result on the clipboard. Expects 'raw' input (see 'help raw-input'.)

Syntax: fa11y Find the views whose accessibility labels match labelRegex and puts the address of the first result on the clipboard.

Arguments: \; Type: string; The accessibility label regex to search the view hierarchy for.

Syntax: fa11y \

This command is implemented as FBFindViewByAccessibilityLabelCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBAccessibilityCommands.py.

flicker

Quickly show and hide a view to quickly help visualize where it is. Expects 'raw' input (see 'help raw-input'.)

Syntax: flicker Quickly show and hide a view to quickly help visualize where it is.

Arguments: \; Type: UIView/NSView*; The view to flicker.

Syntax: flicker \

This command is implemented as FBFlickerViewCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBFlickerCommands.py.

fv

Find the views whose class names match classNameRegex and puts the address of first on the clipboard. Expects 'raw' input (see 'help raw-input'.)

Syntax: fv Find the views whose class names match classNameRegex and puts the address of first on the clipboard.

Arguments: \; Type: string; The view-class regex to search the view hierarchy for.

Syntax: fv \

This command is implemented as FBFindViewCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBFindCommands.py.

fvc

Find the view controllers whose class names match classNameRegex and puts the address of first on the clipboard. Expects 'raw' input (see 'help raw-input'.)

Syntax: fvc Find the view controllers whose class names match classNameRegex and puts the address of first on the clipboard.

Options: --name/-n \; Type: string; The view-controller-class regex to search the view controller hierarchy for. --view/-v \; Type: UIView; This function will print the View Controller that owns this view.

Syntax: fvc [--name=classNameRegex] [--view=view]

This command is implemented as FBFindViewControllerCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBFindCommands.py.

hide

Hide a view or layer. Expects 'raw' input (see 'help raw-input'.)

Syntax: hide Hide a view or layer.

Arguments: \; Type: UIView/NSView/CALayer *; The view/layer to hide.

Syntax: hide \

This command is implemented as FBHideViewCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

mask

Add a transparent rectangle to the window to reveal a possibly obscured or hidden view or layer's bounds Expects 'raw' input (see 'help raw-input'.)

Syntax: mask Add a transparent rectangle to the window to reveal a possibly obscured or hidden view or layer's bounds

Arguments: \; Type: UIView/NSView/CALayer *; The view/layer to mask.

Options: --color/-c \; Type: string; A color name such as 'red', 'green', 'magenta', etc. --alpha/-a \; Type: CGFloat; Desired alpha of mask.

Syntax: mask [--color=color] [--alpha=alpha] \

This command is implemented as FBMaskViewCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

mwarning

simulate a memory warning Expects 'raw' input (see 'help raw-input'.)

Syntax: mwarning simulate a memory warning

Syntax: mwarning

This command is implemented as FBMemoryWarningCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDebugCommands.py.

pa11y

Print accessibility labels of all views in hierarchy of \. Expects 'raw' input (see 'help raw-input'.)

Syntax: pa11y Print accessibility labels of all views in hierarchy of \

Arguments: \; Type: UIView*; The view to print the hierarchy of.

Syntax: pa11y \

This command is implemented as FBPrintAccessibilityLabels in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBAccessibilityCommands.py.

pa11yi

Print accessibility identifiers of all views in hierarchy of \. Expects 'raw' input (see 'help raw-input'.)

Syntax: pa11yi Print accessibility identifiers of all views in hierarchy of \

Arguments: \; Type: UIView*; The view to print the hierarchy of.

Syntax: pa11yi \

This command is implemented as FBPrintAccessibilityIdentifiers in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBAccessibilityCommands.py.

pactions

Print the actions and targets of a control. Expects 'raw' input (see 'help raw-input'.)

Syntax: pactions Print the actions and targets of a control.

Arguments: \; Type: UIControl *; The control to inspect the actions of.

Syntax: pactions \

This command is implemented as FBPrintTargetActions in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

paltrace

Print the Auto Layout trace for the given view. Defaults to the key window. Expects 'raw' input (see 'help raw-input'.)

Syntax: paltrace Print the Auto Layout trace for the given view. Defaults to the key window.

Arguments: \; Type: UIView *; The view to print the Auto Layout trace for.

Syntax: paltrace \

This command is implemented as FBPrintAutolayoutTrace in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBAutoLayoutCommands.py.

panim

Prints if the code is currently execution with a UIView animation block. Expects 'raw' input (see 'help raw-input'.)

Syntax: panim Prints if the code is currently execution with a UIView animation block.

Syntax: panim

This command is implemented as FBPrintIsExecutingInAnimationBlockCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pbcopy

Print object and copy output to clipboard Expects 'raw' input (see 'help raw-input'.)

Syntax: pbcopy Print object and copy output to clipboard

Arguments: \; Type: id; The object to print

Syntax: pbcopy \

This command is implemented as FBPrintToClipboard in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pblock

Print the block`s implementation address and signature. Expects 'raw' input (see 'help raw-input'.)

Syntax: pblock Print the block`s implementation address and signature

Arguments: \; Type: ; The block object you want to print

Syntax: pblock \

This command is implemented as FBPrintBlock in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBClassDump.py.

pbundlepath

Print application's bundle directory path. Expects 'raw' input (see 'help raw-input'.)

Syntax: pbundlepath Print application's bundle directory path.

Options: --open/-o ; open in Finder

Syntax: pbundlepath [--open]

This command is implemented as FBPrintApplicationBundlePath in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pca

Print layer tree from the perspective of the render server. Expects 'raw' input (see 'help raw-input'.)

Syntax: pca Print layer tree from the perspective of the render server.

Syntax: pca

This command is implemented as FBPrintCoreAnimationTree in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pcells

Print the visible cells of the highest table view in the hierarchy. Expects 'raw' input (see 'help raw-input'.)

Syntax: pcells Print the visible cells of the highest table view in the hierarchy.

Syntax: pcells

This command is implemented as FBPrintOnscreenTableViewCells in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pclass

Print the inheritance starting from an instance of any class. Expects 'raw' input (see 'help raw-input'.)

Syntax: pclass Print the inheritance starting from an instance of any class.

Arguments: \; Type: id; The instance to examine.

Syntax: pclass \

This command is implemented as FBPrintInheritanceHierarchy in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pcomponents

Print a recursive description of components found starting from \. Expects 'raw' input (see 'help raw-input'.)

Syntax: pcomponents Print a recursive description of components found starting from \.

Arguments: \; Type: UIView*; The view to from which the search for components begins.

Options: --up/-u ; Print only the component hierarchy found on the first superview that has them, carrying the search up to its window. --show-views/-v \; Type: BOOL; Prints the component hierarchy and does not print the views if the supplied argument is 'NO'. Supply either a 'YES' or a 'NO'. The default is to show views.

Syntax: pcomponents [--up] [--show-views=showViews] \

This command is implemented as FBComponentsPrintCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBComponentCommands.py.

pcurl

Print the NSURLRequest (HTTP) as curl command. Expects 'raw' input (see 'help raw-input'.)

Syntax: pcurl Print the NSURLRequest (HTTP) as curl command.

Arguments: \; Type: NSURLRequest/NSMutableURLRequest; The request to convert to the curl command.

Options: --embed-data/-e ; Embed request data as base64.

Syntax: pcurl [--embed-data] \

This command is implemented as FBPrintAsCurl in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pdata

Print the contents of NSData object as string. Expects 'raw' input (see 'help raw-input'.)

Syntax: pdata Print the contents of NSData object as string. Supported encodings:

  • ascii,

  • utf8,

  • utf16, unicode,

  • utf16l (Little endian),

  • utf16b (Big endian),

  • utf32,

  • utf32l (Little endian),

  • utf32b (Big endian),

  • latin1, iso88591 (88591),

  • latin2, iso88592 (88592),

  • cp1251 (1251),

  • cp1252 (1252),

  • cp1253 (1253),

  • cp1254 (1254),

  • cp1250 (1250),

Arguments: \; Type: NSData *; NSData object.

Options: --encoding/-e \; Type: string; Used encoding (default utf-8).

Syntax: pdata [--encoding=encoding] \

This command is implemented as FBPrintData in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pdocspath

Print application's 'Documents' directory path. Expects 'raw' input (see 'help raw-input'.)

Syntax: pdocspath Print application's 'Documents' directory path.

Options: --open/-o ; open in Finder

Syntax: pdocspath [--open]

This command is implemented as FBPrintApplicationDocumentsPath in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pinternals

Show the internals of an object by dereferencing it as a pointer. Expects 'raw' input (see 'help raw-input'.)

Syntax: pinternals Show the internals of an object by dereferencing it as a pointer.

Arguments: \; Type: id; Object expression to be evaluated.

Syntax: pinternals \

This command is implemented as FBPrintInternals in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pinvocation

Print the stack frame, receiver, and arguments of the current invocation. It will fail to print all arguments if any arguments are variadic (varargs). Expects 'raw' input (see 'help raw-input'.)

Syntax: pinvocation Print the stack frame, receiver, and arguments of the current invocation. It will fail to print all arguments if any arguments are variadic (varargs).

NOTE: Sadly this is currently only implemented on x86.

Options: --all/-a ; Specify to print the entire stack instead of just the current frame.

Syntax: pinvocation [--all]

This command is implemented as FBPrintInvocation in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBInvocationCommands.py.

pivar

Print the value of an object's named instance variable. Expects 'raw' input (see 'help raw-input'.)

Syntax: pivar Print the value of an object's named instance variable.

Arguments: \; Type: id; Object expression to be evaluated. \; Type: ; Name of instance variable to print.

Syntax: pivar \ \

This command is implemented as FBPrintInstanceVariable in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pjson

Print JSON representation of NSDictionary or NSArray object Expects 'raw' input (see 'help raw-input'.)

Syntax: pjson Print JSON representation of NSDictionary or NSArray object

Arguments: \; Type: id; The NSDictionary or NSArray object to print

Options: --plain/-p ; Plain JSON

Syntax: pjson [--plain] \

This command is implemented as FBPrintJSON in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pkp

Print out the value of the key path expression using -valueForKeyPath:. Expects 'raw' input (see 'help raw-input'.)

Syntax: pkp Print out the value of the key path expression using -valueForKeyPath:

Arguments: \; Type: NSString *; The keypath to print

Syntax: pkp \

This command is implemented as FBPrintKeyPath in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pmethods

Print the class and instance methods of a class. Expects 'raw' input (see 'help raw-input'.)

Syntax: pmethods Print the class and instance methods of a class.

Arguments: \; Type: instance or Class; an Objective-C Class.

Options: --address/-a ; Print the implementation address of the method --instance/-i ; Print the instance methods --class/-c ; Print the class methods --name/-n ; Take the argument as class name

Syntax: pmethods [--address] [--instance] [--class] [--name] \

This command is implemented as FBPrintMethods in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBClassDump.py.

poobjc

Print the expression result, with the expression run in an ObjC++ context. (Shortcut for "expression -O -l ObjC++ -- " ) Expects 'raw' input (see 'help raw-input'.)

Syntax: poobjc Print the expression result, with the expression run in an ObjC++ context. (Shortcut for "expression -O -l ObjC++ -- " )

Arguments: \; Type: ; ObjC expression to evaluate and print.

Syntax: poobjc \

This command is implemented as FBPrintObjectInObjc in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pproperties

Print the properties of an instance or Class Expects 'raw' input (see 'help raw-input'.)

Syntax: pproperties Print the properties of an instance or Class

Arguments: \; Type: instance or Class; an Objective-C Class.

Options: --name/-n ; Take the argument as class name

Syntax: pproperties [--name] \

This command is implemented as FBPrintProperties in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBClassDump.py.

present

Present a view controller. Expects 'raw' input (see 'help raw-input'.)

Syntax: present Present a view controller.

Arguments: \; Type: UIViewController *; The view controller to present.

Syntax: present \

This command is implemented as FBPresentViewControllerCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

presponder

Print the responder chain starting from a specific responder. Expects 'raw' input (see 'help raw-input'.)

Syntax: presponder Print the responder chain starting from a specific responder.

Arguments: \; Type: UIResponder *; The responder to use to start walking the chain.

Syntax: presponder \

This command is implemented as FBPrintUpwardResponderChain in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

ptv

Print the highest table view in the hierarchy. Expects 'raw' input (see 'help raw-input'.)

Syntax: ptv Print the highest table view in the hierarchy.

Syntax: ptv

This command is implemented as FBPrintOnscreenTableView in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pvc

Print the recursion description of \. Expects 'raw' input (see 'help raw-input'.)

Syntax: pvc Print the recursion description of \.

Arguments: \; Type: UIViewController*; The view controller to print the description of.

Syntax: pvc \

This command is implemented as FBPrintViewControllerHierarchyCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

pviews

Print the recursion description of \. Expects 'raw' input (see 'help raw-input'.)

Syntax: pviews Print the recursion description of \.

Arguments: \; Type: UIView/NSView; The view to print the description of.

Options: --up/-u ; Print only the hierarchy directly above the view, up to its window. --depth/-d \; Type: int; Print only to a given depth. 0 indicates infinite depth.

Syntax: pviews [--up] [--depth=depth] \

This command is implemented as FBPrintViewHierarchyCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBPrintCommands.py.

rcomponents

Synchronously reflow and update root components found starting from \. Expects 'raw' input (see 'help raw-input'.)

Syntax: rcomponents Synchronously reflow and update root components found starting from \.

Arguments: \; Type: UIView*; The view to from which the search for the root components begins.

Options: --up/-u ; Reflow only the root components found on the first superview that has them, carrying the search up to its window.

Syntax: rcomponents [--up] \

This command is implemented as FBComponentsReflowCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBComponentCommands.py.

setinput

Input text into text field or text view that is first responder. Expects 'raw' input (see 'help raw-input'.)

Syntax: setinput Input text into text field or text view that is first responder.

Arguments: \; Type: string; The text to input.

Syntax: setinput \

This command is implemented as FBInputTexToFirstResponderCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBTextInputCommands.py.

settext

Set text on text on a view by accessibility id. Expects 'raw' input (see 'help raw-input'.)

Syntax: settext Set text on text on a view by accessibility id.

Arguments: \; Type: string; The accessibility ID of the input view. \; Type: string; The text to set.

Syntax: settext \ \

This command is implemented as FBInputTexByAccessibilityIdCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBTextInputCommands.py.

show

Show a view or layer. Expects 'raw' input (see 'help raw-input'.)

Syntax: show Show a view or layer.

Arguments: \; Type: UIView/NSView/CALayer *; The view/layer to show.

Syntax: show \

This command is implemented as FBShowViewCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

slowanim

Slows down animations. Works on the iOS Simulator and a device. Expects 'raw' input (see 'help raw-input'.)

Syntax: slowanim Slows down animations. Works on the iOS Simulator and a device.

Arguments: \; Type: float; Animation speed (default 0.1).

Syntax: slowanim \

This command is implemented as FBSlowAnimationCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

taplog

Log tapped view to the console. Expects 'raw' input (see 'help raw-input'.)

Syntax: taplog Log tapped view to the console.

Syntax: taplog

This command is implemented as FBTapLoggerCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBFindCommands.py.

unborder

Removes border around \. Expects 'raw' input (see 'help raw-input'.)

Syntax: unborder Removes border around \.

Arguments: \; Type: UIView/NSView/CALayer *; The view/layer to unborder.

Options: --depth/-d \; Type: int; Number of levels of subviews to unborder.

Syntax: unborder [--depth=depth] \

This command is implemented as FBRemoveBorderCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

unmask

Remove mask from a view or layer Expects 'raw' input (see 'help raw-input'.)

Syntax: unmask Remove mask from a view or layer

Arguments: \; Type: UIView/CALayer *; The view/layer to mask.

Syntax: unmask \

This command is implemented as FBUnmaskViewCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

unslowanim

Turn off slow animations. Expects 'raw' input (see 'help raw-input'.)

Syntax: unslowanim Turn off slow animations.

Syntax: unslowanim

This command is implemented as FBUnslowAnimationCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py.

visualize

Open a UIImage, CGImageRef, UIView, or CALayer in Preview.app on your Mac. Expects 'raw' input (see 'help raw-input'.)

Syntax: visualize Open a UIImage, CGImageRef, UIView, or CALayer in Preview.app on your Mac.

Arguments: \; Type: (id); The object to visualize.

Syntax: visualize \

This command is implemented as FBVisualizeCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBVisualizationCommands.py.

vs

Interactively search for a view by walking the hierarchy. Expects 'raw' input (see 'help raw-input'.)

Syntax: vs Interactively search for a view by walking the hierarchy.

Arguments: \; Type: UIView*; The view to border.

Syntax: vs \

This command is implemented as FBViewSearchCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBFlickerCommands.py.

wivar

Set a watchpoint for an object's instance variable. Expects 'raw' input (see 'help raw-input'.)

Syntax: wivar Set a watchpoint for an object's instance variable.

Arguments: \; Type: id; Object expression to be evaluated. \; Type: ; Name of the instance variable to watch.

Syntax: wivar \ \

This command is implemented as FBWatchInstanceVariableCommand in /usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDebugCommands.py.

chisel