lldbinit
lldbinit copied to clipboard
disassemble error
When start debugging,there through out an error
(lldbinit) Traceback (most recent call last):
File "/home/rooter/lldbinit.py", line 5573, in HandleHookStopOnTarget
disassemble(get_current_pc(), CONFIG_DISASSEMBLY_LINE_COUNT)
File "/home/rooter/lldbinit.py", line 4163, in disassemble
mod_uuid = str(mem_inst.addr.module.uuid)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rooter/Desktop/kernel_dddd/ndk/android-ndk-r27c-linux/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/lib/python3.11/site-packages/lldb/__init__.py", line 8011, in get_uuid
return uuid.UUID (self.GetUUIDString())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rooter/Desktop/kernel_dddd/ndk/android-ndk-r27c-linux/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/python3/lib/python3.11/uuid.py", line 178, in __init__
raise ValueError('badly formed hexadecimal UUID string')
ValueError: badly formed hexadecimal UUID string
~~how to fix it~~
has found the problem,my pc has two lldb process, and i just kill them then it running
I have replaced the uuid property with a method and that might fix any issues because I already had problems with other properties between different lldb versions. Will post updated version soon.