benibenj / vscode-pythonCpp

A Visual Studio Code Debug Extension for debugging mixed Python and C++ code. The extension starts a Python debug session and attaches the C++ debugger to it. This extension is useful for debugging Python programs that call functions from shared libraries (.so/.dll).
Other
49 stars 7 forks source link

cpp debugger dependency problem #19

Open ZZYSonny opened 1 year ago

ZZYSonny commented 1 year ago

I use clangd for C++ intellisense. Because clangd keeps saying it conflicts with Microsoft's C++ extension, I use CodeLLDB to debug C++ code. According to https://github.com/benibenj/vscode-pythonCpp/issues/7, CodeLLDB seems to be supported.

However, PythonCpp depends on Microsoft's C++ extension. When I install PythonCpp, Microsoft's C++ extension will be automatically installed (and cannot be disabled if I want to use PythonCpp). Then clangd starts complaining.

Any suggestions to this problem?

dmyger commented 6 months ago

What if disable most "C++ extention" features, except debugging as suggested here

"C_Cpp.autocomplete": "Disabled",
"C_Cpp.formatting": "Disabled",
"C_Cpp.errorSquiggles": "Disabled",
"C_Cpp.intelliSenseEngine": "Disabled",