facebook / chisel

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fail to call visualize command

opened this issue · comments

visualize 0x7fd1f054ebc0
error: error: invalid suffix 'isKindOfClass' on integer constant
Traceback (most recent call last):
File "/usr/local/opt/chisel/libexec/fblldb.py", line 83, in runCommand
command.run(args, options)
File "/usr/local/Cellar/chisel/1.5.0/libexec/commands/FBVisualizationCommands.py", line 178, in run
_visualize(arguments[0])
File "/usr/local/Cellar/chisel/1.5.0/libexec/commands/FBVisualizationCommands.py", line 149, in _visualize
if objectHelpers.isKindOfClass(target, 'UIImage'):
File "/usr/local/opt/chisel/libexec/fblldbobjecthelpers.py", line 15, in isKindOfClass
return fb.evaluateBooleanExpression(isKindOfClassStr.format(className))
File "/usr/local/opt/chisel/libexec/fblldbbase.py", line 84, in evaluateBooleanExpression
return (int(evaluateIntegerExpression('(BOOL)(' + expression + ')', printErrors)) != 0)
File "/usr/local/opt/chisel/libexec/fblldbbase.py", line 76, in evaluateIntegerExpression
output = evaluateExpression('(int)(' + expression + ')', printErrors).replace(''', '')
AttributeError: 'NoneType' object has no attribute 'replace'