Skip to content

Instantly share code, notes, and snippets.

@KristupasSavickas
Created July 13, 2017 07:23
Show Gist options
  • Save KristupasSavickas/e9e495274ecc317c4e0c717357fc32af to your computer and use it in GitHub Desktop.
Save KristupasSavickas/e9e495274ecc317c4e0c717357fc32af to your computer and use it in GitHub Desktop.
c/cpp debug
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"preLaunchTask": "Build (Makefile)",
"program": "${cwd}/bin/load_manager",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"taskName": "Build (Makefile)",
"command": "make",
"type": "shell",
"presentation": {
"reveal": "always",
"focus": true,
"panel": "shared"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment