Skip to content

Commit 56e0907

Browse files
committed
Update launch configurations
1 parent eb77535 commit 56e0907

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.vscode/launch.json

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"version": "0.2.0",
33
"configurations": [
44
{
5-
"name": "开始Debug",
5+
"name": "Debug chsrc",
66
"type": "cppdbg",
77
"request": "launch",
88
"program": "${workspaceFolder}/chsrc-debug",
@@ -29,6 +29,33 @@
2929
"ignoreFailures": true
3030
}
3131
]
32+
},
33+
34+
{
35+
"name": "Debug framework",
36+
"type": "cppdbg",
37+
"request": "launch",
38+
"program": "${workspaceFolder}/fw",
39+
"args": [],
40+
"preLaunchTask": "测试 framework",
41+
"stopAtEntry": true,
42+
"cwd": "${workspaceFolder}",
43+
"environment": [],
44+
"externalConsole": false,
45+
"MIMode": "gdb",
46+
// "miDebuggerPath": "/path/to/gdb",
47+
"setupCommands": [
48+
{
49+
"description": "Enable pretty-printing for gdb",
50+
"text": "-enable-pretty-printing",
51+
"ignoreFailures": true
52+
},
53+
{
54+
"description": "Set Disassembly Flavor to Intel",
55+
"text": "-gdb-set disassembly-flavor intel",
56+
"ignoreFailures": true
57+
}
58+
]
3259
}
3360
]
3461
}

0 commit comments

Comments
 (0)