facebook / chisel

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chisel not working; 'sys' is not defined

acoomans opened this issue · comments

Added command script import /usr/local/opt/chisel/libexec/fblldb.py to ~/.lldbinit; not working.

Running command script import /usr/local/opt/chisel/libexec/fblldb.py directly into lldb gives:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
NameError: name 'sys' is not defined

Solved by importing sys manually in ~/.lldbinit:

command script import sys
command script import /usr/local/opt/chisel/libexec/fblldb.py

You saved me!

Thanks for the report. I've opened #255 to resolve the issue.