Working on C++ code
- Generate CMakeLists.txt
./gradlew :kotlin-native:llvmDebugInfoC:generateCMakeLists
- Open this directory in CLion
Working with konan_lldb.py on macOS
- Generate a venv from Xcode's Python
cd kotlin-native/llvmDebugInfoC/src/scripts
sh -c 'exec "$(xcode-select -p)"/Library/Frameworks/Python3.framework/Versions/Current/bin/python3 -m venv .venv'
- Symlink lldb Python API for lldb completions in PyCharm
echo "$(dirname "$(xcode-select -p)")"/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python > "$(echo .venv/lib/python*)/site-packages/lldb.pth"
open -b com.jetbrains.pycharm .