Skip to content

Commit 5d6a9f1

Browse files
author
Peter Argany
committed
Merge branch 'print_window' of https://github.com/PeteTheHeat/chisel into print_window
2 parents 8b41a42 + ee406ea commit 5d6a9f1

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

commands/FBPrintCommands.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
def lldbcommands():
2121
return [
2222
FBPrintViewHierarchyCommand(),
23-
FBPrintWindow(),
2423
FBPrintCoreAnimationTree(),
2524
FBPrintViewControllerHierarchyCommand(),
2625
FBPrintIsExecutingInAnimationBlockCommand(),
@@ -94,19 +93,6 @@ def run(self, arguments, options):
9493
description = re.sub(r'%s.*\n' % (prefixToRemove), r'', description)
9594
print description
9695

97-
class FBPrintWindow(fb.FBCommand):
98-
def name(self):
99-
return 'pwindow'
100-
101-
def description(self):
102-
return 'Print the recursion description of a Window, specified by <windowIndex>. Check which windows exist with "po (id)[[UIApplication sharedApplication] windows]".'
103-
104-
def args(self):
105-
return [ fb.FBCommandArgument(arg='windowIndex', type='int', help='The index of the Window to print a description of.', default=0) ]
106-
107-
def run(self, arguments, options):
108-
lldb.debugger.HandleCommand('po (id)[[[[UIApplication sharedApplication] windows] objectAtIndex:' + arguments[0] + '] recursiveDescription]')
109-
11096
class FBPrintCoreAnimationTree(fb.FBCommand):
11197
def name(self):
11298
return 'pca'

0 commit comments

Comments
 (0)