Pure-D / dlang-debug

dlang pretty printers for GDB & LLDB for various standard types
MIT License
21 stars 3 forks source link

LLDB AA crash #3

Closed WebFreak001 closed 2 years ago

WebFreak001 commented 2 years ago
Traceback (most recent call last):
  File "/home/webfreak/.vscode-oss/extensions/code-d/dlang-debug/lldb_dlang.py", line 356, in get_child_at_index
    summary = self.get_key_name(child, index)
  File "/home/webfreak/.vscode-oss/extensions/code-d/dlang-debug/lldb_dlang.py", line 345, in get_key_name
    key = child.CreateChildAtOffset('[%s]' % index, 0, self.key_type)
AttributeError: 'DAssocArrayPrinter' object has no attribute 'key_type'

while debugging dub in generator.d in function configurePackages (around line 252) with CodeLLDB and code-d debug type having local variables open

https://github.com/dlang/dub/blob/48a551094b1763b1562c1990a285857d164f127e/source/dub/generators/generator.d#L252