You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
presponder is listed in the README as supported on OS X but using on OS X throws an error related to its reference to UIResponder in FBPrintCommands.py
Ex:
(lldb) p (BOOL)[self isKindOfClass:[NSResponder class]]
(BOOL) $3 = YES
(lldb) presponder self
error: error: use of undeclared identifier 'UIResponder'
error: 1 errors parsing expression
Traceback (most recent call last):
File "/Users/matt/Documents/chisel-master/fblldb.py", line 79, in runCommand
command.run(args, options)
File "/Users/matt/Documents/chisel-master/commands/FBPrintCommands.py", line 179, in run
if not fb.evaluateBooleanExpression('(BOOL)[(id)' + startResponder + ' isKindOfClass:[UIResponder class]]') and not fb.evaluateBooleanExpression('(BOOL)[(id)' + startResponder + ' isKindOfClass:[NSResponder class]]'):
File "/Users/matt/Documents/chisel-master/fblldbbase.py", line 69, in evaluateBooleanExpression
return (int(evaluateIntegerExpression('(BOOL)(' + expression + ')', printErrors)) != 0)
File "/Users/matt/Documents/chisel-master/fblldbbase.py", line 61, in evaluateIntegerExpression
output = evaluateExpression('(int)(' + expression + ')', printErrors).replace('\'', '')
AttributeError: 'NoneType' object has no attribute 'replace'
(lldb)
Note: Merely changing or removing the UIResponder reference in FBPrintCommands.py allows the presponder call to work as expected
The text was updated successfully, but these errors were encountered:
presponder
is listed in the README as supported on OS X but using on OS X throws an error related to its reference to UIResponder in FBPrintCommands.pyEx:
Note: Merely changing or removing the UIResponder reference in
FBPrintCommands.py
allows thepresponder
call to work as expectedThe text was updated successfully, but these errors were encountered: