forked from gatsby/datalink_repo
add debug settings.
This commit is contained in:
Vendored
+34
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
// 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": "(gdb) Launch GE linklayer_emulate_unit_test",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/datalink814_ge/unit_test/linklayer_emulate_unit_test.exe",
|
||||||
|
"args": [],
|
||||||
|
"preLaunchTask": "linklayer_emulate_unit_test",
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}/datalink814_ge/unit_test",
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
Vendored
+30
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"reveal": "always",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "tmc_emulate_unit_test",
|
||||||
|
"command": "bash",
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build"
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/datalink814_ge/unit_test"
|
||||||
|
},
|
||||||
|
"args": ["-c", "make tmc_emulate_unit_test.exe"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "linklayer_emulate_unit_test",
|
||||||
|
"command": "bash",
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build"
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/datalink814_ge/unit_test"
|
||||||
|
},
|
||||||
|
"args": ["-c", "make linklayer_emulate_unit_test.exe"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user