When I want to use CMake extention of VS Code in MacOS to debug program using LLDB, it requre some set up to use F5
button.
- Install VS Code, LLVM, CMAKE and C/C++ extensions.
- Using
LLDM-MI
- Compile lldb-mi from source, then make install (default to
/usr/local/bin
) - Using LLDB-MI in VS Code
- Compile lldb-mi from source, then make install (default to
tasks.json
: