.vscode
This commit is contained in:
parent
2defd751ec
commit
832b0ced23
45
.vscode/launch.json
vendored
45
.vscode/launch.json
vendored
@ -1,35 +1,46 @@
|
|||||||
{
|
{
|
||||||
// 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",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "(gdb) Debug",
|
"name": "gdb_debug_unix",
|
||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"preLaunchTask": "build_cb2c_dbg",
|
"program": "${workspaceFolder}/bin/cobek",
|
||||||
"program": "cb2c.com",
|
"preLaunchTask": "build_exec_dbg",
|
||||||
"args": [],
|
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
"cwd": "${workspaceFolder}/bin",
|
"cwd": "${workspaceFolder}/bin",
|
||||||
"environment": [],
|
|
||||||
"externalConsole": false,
|
"externalConsole": false,
|
||||||
"internalConsoleOptions": "openOnSessionStart",
|
"MIMode": "gdb",
|
||||||
"pipeTransport": {
|
"miDebuggerPath": "gdb",
|
||||||
"debuggerPath": "gdb",
|
"setupCommands": [
|
||||||
"pipeProgram": "bash",
|
{
|
||||||
"pipeArgs": ["-c"],
|
"text": "-enable-pretty-printing",
|
||||||
"pipeCwd": ""
|
"ignoreFailures": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"text": "-gdb-set disassembly-flavor intel",
|
||||||
|
"ignoreFailures": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
// the only difference is .exe
|
||||||
|
{
|
||||||
|
"name": "gdb_debug_win",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/bin/cobek.exe",
|
||||||
|
"preLaunchTask": "build_exec_dbg",
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}/bin",
|
||||||
|
"externalConsole": false,
|
||||||
|
"MIMode": "gdb",
|
||||||
|
"miDebuggerPath": "gdb",
|
||||||
"setupCommands": [
|
"setupCommands": [
|
||||||
{
|
{
|
||||||
"description": "Enable pretty-printing for gdb",
|
|
||||||
"text": "-enable-pretty-printing",
|
"text": "-enable-pretty-printing",
|
||||||
"ignoreFailures": true
|
"ignoreFailures": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Set Disassembly Flavor to Intel",
|
|
||||||
"text": "-gdb-set disassembly-flavor intel",
|
"text": "-gdb-set disassembly-flavor intel",
|
||||||
"ignoreFailures": true
|
"ignoreFailures": true
|
||||||
}
|
}
|
||||||
|
|||||||
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -1,15 +1,13 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "build_cb2c_dbg",
|
"label": "build_exec_dbg",
|
||||||
"detail": "build project with debug symbols",
|
"detail": "build project with debug symbols",
|
||||||
"type": "cppbuild",
|
"type": "cppbuild",
|
||||||
"command": "make",
|
"command": "make",
|
||||||
"args": [
|
"args": [
|
||||||
"rebuild_kerep",
|
|
||||||
"build_exec_dbg"
|
"build_exec_dbg"
|
||||||
],
|
],
|
||||||
"options": {
|
"options": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user