I’m using vscode and CodeLLDB to debug rust code.
Internal debugger error:
Traceback (most recent call last):
File "/home/joey/.vscode/extensions/vadimcn.vscode-lldb-1.2.3/adapter/debugsession.py", line 1366, in handle_message
result = handler(args)
File "/home/joey/.vscode/extensions/vadimcn.vscode-lldb-1.2.3/adapter/debugsession.py", line 426, in DEBUG_setBreakpoints
result = self.set_source_breakpoints(file_bps, req_bps, file_id)
File "/home/joey/.vscode/extensions/vadimcn.vscode-lldb-1.2.3/adapter/debugsession.py", line 447, in set_source_breakpoints
for bp_loc in bp:
TypeError: 'SBBreakpoint' object is not iterable
I checked my /usr/lib/python2.7/site-packages/lldb/__init__.py
file, the SBBreakpoint
class lack a __iter__
method, but In the document at https://lldb.llvm.org/python_reference/index.html SBBreakpoint
class has a __iter__
method.
I guess it may be a bug that when generating the python binding for lldb 8.0.1 some methods are missing, can someone confirm this bug? thanks!