ldb python script run?

link: GitHub - DerekSelander/LLDB: A collection of LLDB aliases/regexes and Python scripts to aid in your debugging sessions

Below is the execution result.

(lldb) command script import ~ / Users / gimhyegon_dev / lldb_commands / dslldb.py
Traceback (most recent call last):
File “”, line 1, in
File “/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb/init.py”, line 98, in
import six
ImportError: No module named six
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘run_one_line’ is not defined
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘run_one_line’ is not defined
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘run_one_line’ is not defined
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘run_one_line’ is not defined
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘run_one_line’ is not defined
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘run_one_line’ is not defined
error: module importing failed: invalid pathname

If there is no six module above, how should it run?
thank!

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]

(lldb) command script import ~ / Users / gimhyegon_dev / lldb_commands / dslldb.py

Are you including spaces? If yes, that is not needed

This topic was automatically closed after 166 days. New replies are no longer allowed.