plasma-umass / ChatDBG

ChatDBG - AI-assisted debugging. Uses AI to answer 'why'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`chatdbg.native_util.clangd_lsp_integration` import errors

nicovank opened this issue · comments

Making an issue here from Slack so all the information is in one place. There seems to be an issue for ChatDBG+LLDB.
I suspect this is because of some import/import path issue.

% lldb -- ./gctest2 30
error: module importing failed: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/nvankempen/Programming/plasma-umass/chatdbg/src/chatdbg/chatdbg_lldb.py", line 7, in <module>
    from chatdbg.native_util import clangd_lsp_integration
ModuleNotFoundError: No module named 'chatdbg.native_util'

It comes out differently on Emery's machine:

Traceback (most recent call last):
  File "/Users/emery/git/ChatDBG/src/chatdbg/chatdbg_lldb.py", line 44, in _function_definition
    result.AppendMessage(clangd_lsp_integration.native_definition(command))
AttributeError: module 'chatdbg.native_util.clangd_lsp_integration' has no attribute 'native_definition'