2826 字
14 分钟
Chisel工具
2021-05-22
2026-10-12
无标签

chisel

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 <color>; Type: string; A color name such as ‘red’, ‘green’, ‘magenta’, etc. —width/-w <width>; 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: <address>; Type: string; Address within the currently running framework to set a breakpoint on.

Syntax: binside <address>

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: <expression>; Type: string; Expression to set a breakpoint on, e.g. ”-[MyView setFrame:]”, ”+[MyView awesomeClassMethod]” or ”-[0xabcd1234 setFrame:]”

Syntax: bmessage <expression>

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

border#

Draws a border around <viewOrLayer>. 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 <viewOrLayer>. Color and width can be optionally provided. Additionally depth can be provided in order to recursively border subviews.

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

Options: —color/-c <color>; Type: string; A color name such as ‘red’, ‘green’, ‘magenta’, etc. —width/-w <width>; Type: CGFloat; Desired width of border. —depth/-d <depth>; 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] <viewOrLayer>

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: <viewController>; Type: UIViewController *; The view controller to dismiss.

Syntax: dismiss <viewController>

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: <labelRegex>; Type: string; The accessibility label regex to search the view hierarchy for.

Syntax: fa11y <labelRegex>

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: <viewOrLayer>; Type: UIView/NSView*; The view to flicker.

Syntax: flicker <viewOrLayer>

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: <classNameRegex>; Type: string; The view-class regex to search the view hierarchy for.

Syntax: fv <classNameRegex>

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 <classNameRegex>; Type: string; The view-controller-class regex to search the view controller hierarchy for. —view/-v <view>; 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: <viewOrLayer>; Type: UIView/NSView/CALayer *; The view/layer to hide.

Syntax: hide <viewOrLayer>

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: <viewOrLayer>; Type: UIView/NSView/CALayer *; The view/layer to mask.

Options: —color/-c <color>; Type: string; A color name such as ‘red’, ‘green’, ‘magenta’, etc. —alpha/-a <alpha>; Type: CGFloat; Desired alpha of mask.

Syntax: mask [—color=color] [—alpha=alpha] <viewOrLayer>

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 <aView>. Expects ‘raw’ input (see ‘help raw-input’.)

Syntax: pa11y Print accessibility labels of all views in hierarchy of <aView>

Arguments: <aView>; Type: UIView*; The view to print the hierarchy of.

Syntax: pa11y <aView>

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 <aView>. Expects ‘raw’ input (see ‘help raw-input’.)

Syntax: pa11yi Print accessibility identifiers of all views in hierarchy of <aView>

Arguments: <aView>; Type: UIView*; The view to print the hierarchy of.

Syntax: pa11yi <aView>

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: <control>; Type: UIControl *; The control to inspect the actions of.

Syntax: pactions <control>

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: <view>; Type: UIView *; The view to print the Auto Layout trace for.

Syntax: paltrace <view>

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: <object>; Type: id; The object to print

Syntax: pbcopy <object>

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: <block>; Type: ; The block object you want to print

Syntax: pblock <block>

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: <object>; Type: id; The instance to examine.

Syntax: pclass <object>

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 <aView>. Expects ‘raw’ input (see ‘help raw-input’.)

Syntax: pcomponents Print a recursive description of components found starting from <aView>.

Arguments: <aView>; 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 <showViews>; 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] <aView>

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: <request>; Type: NSURLRequest*/NSMutableURLRequest*; The request to convert to the curl command.

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

Syntax: pcurl [—embed-data] <request>

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: <data>; Type: NSData *; NSData object.

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

Syntax: pdata [—encoding=encoding] <data>

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: <object>; Type: id; Object expression to be evaluated.

Syntax: pinternals <object>

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: <object>; Type: id; Object expression to be evaluated. <ivarName>; Type: ; Name of instance variable to print.

Syntax: pivar <object> <ivarName>

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: <object>; Type: id; The NSDictionary or NSArray object to print

Options: —plain/-p ; Plain JSON

Syntax: pjson [—plain] <object>

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: <keypath>; Type: NSString *; The keypath to print

Syntax: pkp <keypath>

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: <instance or class>; 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] <instance or class>

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: <expression>; Type: ; ObjC expression to evaluate and print.

Syntax: poobjc <expression>

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: <instance or class>; Type: instance or Class; an Objective-C Class.

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

Syntax: pproperties [—name] <instance or class>

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: <viewController>; Type: UIViewController *; The view controller to present.

Syntax: present <viewController>

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: <startResponder>; Type: UIResponder *; The responder to use to start walking the chain.

Syntax: presponder <startResponder>

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 <aViewController>. Expects ‘raw’ input (see ‘help raw-input’.)

Syntax: pvc Print the recursion description of <aViewController>.

Arguments: <aViewController>; Type: UIViewController*; The view controller to print the description of.

Syntax: pvc <aViewController>

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

pviews#

Print the recursion description of <aView>. Expects ‘raw’ input (see ‘help raw-input’.)

Syntax: pviews Print the recursion description of <aView>.

Arguments: <aView>; 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 <depth>; Type: int; Print only to a given depth. 0 indicates infinite depth.

Syntax: pviews [—up] [—depth=depth] <aView>

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 <aView>. Expects ‘raw’ input (see ‘help raw-input’.)

Syntax: rcomponents Synchronously reflow and update root components found starting from <aView>.

Arguments: <aView>; 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] <aView>

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: <inputText>; Type: string; The text to input.

Syntax: setinput <inputText>

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: <accessibilityId>; Type: string; The accessibility ID of the input view. <replacementText>; Type: string; The text to set.

Syntax: settext <accessibilityId> <replacementText>

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: <viewOrLayer>; Type: UIView/NSView/CALayer *; The view/layer to show.

Syntax: show <viewOrLayer>

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: <speed>; Type: float; Animation speed (default 0.1).

Syntax: slowanim <speed>

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 <viewOrLayer>. Expects ‘raw’ input (see ‘help raw-input’.)

Syntax: unborder Removes border around <viewOrLayer>.

Arguments: <viewOrLayer>; Type: UIView/NSView/CALayer *; The view/layer to unborder.

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

Syntax: unborder [—depth=depth] <viewOrLayer>

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: <viewOrLayer>; Type: UIView/CALayer *; The view/layer to mask.

Syntax: unmask <viewOrLayer>

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: <target>; Type: (id); The object to visualize.

Syntax: visualize <target>

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: <view>; Type: UIView*; The view to border.

Syntax: vs <view>

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: <object>; Type: id; Object expression to be evaluated. <ivarName>; Type: ; Name of the instance variable to watch.

Syntax: wivar <object> <ivarName>

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