Failed to fetch fork details. Try again later.
-
liamy authoredde063da5
Forked from
GlimmerBase / DataBaseContest
Source project has a limited visibility.
{
// 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": "debug rmdb",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/bin/rmdb",
"args": ["liamDB"],
"stopAtEntry": false,
// 需要修改当前工作目录以便数据库文件夹以及记录文件的创建位置正确
"cwd": "${workspaceFolder}/build/",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
],
"preLaunchTask": "build rmdb"
},
{
"name": "debug unit_test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/bin/unit_test",
"args": [""],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
],
"preLaunchTask": "build unit_test"
}
]
}