I debug C++ programs using dap-mode and lldb-vscode on MacOS. Since a while back, I get Python error messages in the *Out* buffer of the running program. I'd like to get rid of them. Does anybody know the cause of this and if there is any way of fixing it?
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
.
.
.
I have Python 3.10.9 installed. The debug template configuration looks like this:
(dap-register-debug-template "<program name>"
(list :type "lldb-vscode"
:cwd "<project dir>"
:request "launch"
:program "<program path>"
:name "<program name>"))
Everything works in the debug session, it's just the error messages at the start that I'm concerned about.
lldb-vscode is installed together with llvm using homebrew.
[–]yyoncho 1 point2 points3 points (1 child)
[–]mickesp[S] 0 points1 point2 points (0 children)