facebook / facebook/chisel

pivar and wivar can not be used.

未关闭
#182 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
9.2k
派生
790
PR 合并指标
30 天内没有已合并 PR

描述

(lldb) pivar self _view
error: error: call to unavailable function 'object_getInstanceVariable': not available in automatic reference counting mode
error: no matching function for call to 'ivar_getTypeEncoding'
note: candidate function has been explicitly made unavailable
note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'Ivar' (aka 'objc_ivar *')
error: 2 errors parsing expression
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/FBPrintCommands.py", line 293, in run
result = fb.evaluateExpressionValue('(({} *)({}))->{}'.format(printCommand, objectClass, object, ivarName))
NameError: global name 'printCommand' is not defined

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。