Update launch configurations

This commit is contained in:
Aoran Zeng 2025-07-14 22:46:40 +08:00
parent eb7753511e
commit 56e0907609
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

29
.vscode/launch.json vendored
View File

@ -2,7 +2,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "开始Debug",
"name": "Debug chsrc",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/chsrc-debug",
@ -29,6 +29,33 @@
"ignoreFailures": true
}
]
},
{
"name": "Debug framework",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/fw",
"args": [],
"preLaunchTask": "测试 framework",
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
// "miDebuggerPath": "/path/to/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
}
]
}
]
}