Closed anil0605 closed 4 years ago
@anil0605, importing can fail for a number of reasons. Try running that command script import ...
inside the LLDB console while your app is running and check out the potential error message. If you get an error message that will be give the Chisel maintainers more context for a fix.
.lldbinit inside the project folder with the contents
As far as I know this does not work. Can you try adding the command script import
command to your .lldbinit
in your home directory (~/.lldbinit
)?
(lldb) script import /path/to/fblldb.py File "", line 1 import /path/to/fblldb.py ^ SyntaxError: invalid syntax (lldb)
Not support python 3.7?
You're missing command
. It should command script import
You're missing
command
. It shouldcommand script import
(lldb) command script import /path/to/fblldb.py error: module importing failed: invalid pathname (lldb)
/path/to/fblldb.py
is a placeholder in the documentation, you have to substitute your real path to wherever fblldb.py is on your computer.
Hi Team,
I have tried to run chisel with my XCode 9.4.1 I have created a file .lldbinit inside the project folder with the contents command script import /usr/local/opt/chisel/libexec/fblldb.py
I have checked the above file path and it's correct also. Please find the below screenshot if that helps.
Could anyone please help. I really want to use all of these debugging commands in my project.