18.Chisel工具

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 \; 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.

Last updated