-
Notifications
You must be signed in to change notification settings - Fork 435
Setup and Debug Guide (VScode)
Richard L Ford edited this page Apr 21, 2021
·
2 revisions
{
"cmake.buildDirectory": "${workspaceFolder}/Debug-build",
"cmake.sourceDirectory": "${workspaceFolder}",
"cmake.configureArgs": [
"-DLLVM_DIR=/Users/charles/guanqin/analysis/clang10"
]
}
for further settings please refer to microsoft_VSCode_settings_doc
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "clang++ - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/Debug-build/bin/wpa",
"args": ["-ander","/Users/charles/s.bc"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"MIMode": "lldb"
// "preLaunchTask": "C/C++: clang++ build active file"
}
]
}