2020-02-22 09:29:45 +00:00
|
|
|
{
|
|
|
|
// 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": [
|
|
|
|
{
|
2020-05-29 12:26:43 +00:00
|
|
|
"name": "Run ELFIO Tests",
|
2020-02-22 09:29:45 +00:00
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2020-08-18 19:57:45 +00:00
|
|
|
"program": "${workspaceFolder}/tests/ELFIOTest",
|
|
|
|
"args": [
|
|
|
|
"-r",
|
|
|
|
"short"
|
|
|
|
],
|
2020-02-22 09:29:45 +00:00
|
|
|
"stopAtEntry": false,
|
2020-08-18 19:57:45 +00:00
|
|
|
"cwd": "${workspaceFolder}/tests",
|
2020-02-22 09:29:45 +00:00
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
2020-05-29 12:26:43 +00:00
|
|
|
"preLaunchTask": "ELFIO Test build",
|
|
|
|
"miDebuggerPath": "/usr/bin/gdb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Run ELF Dump",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/examples/elfdump/elfdump",
|
2020-08-10 05:43:30 +00:00
|
|
|
"args": ["tests/elf_examples/crash.elf"],
|
2020-05-29 12:26:43 +00:00
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"preLaunchTask": "ELF Dump Build",
|
2020-02-22 09:29:45 +00:00
|
|
|
"miDebuggerPath": "/usr/bin/gdb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|