Add Debugger commands.

This commit is contained in:
2018-04-02 22:44:33 +02:00
parent 1a871503be
commit b0c31842f5
3 changed files with 123 additions and 54 deletions

32
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,32 @@
{
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles.
// Pointez pour afficher la description des attributs existants.
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) domo",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/build/domo/domod",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/staging",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/staging/usr/lib"
}
],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}