diff --git a/.vscode/launch.json b/.vscode/launch.json index b049872..acc8cd2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,50 +1,50 @@ { - // 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": "test Debuggen (gdb)", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/test", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "setupCommands": [ - { - "description": "Automatische Strukturierung und Einrückung für \"gdb\" aktivieren", - "text": "-enable-pretty-printing", - "ignoreFailures": true - } - ], - "preLaunchTask": "make test", - "miDebuggerPath": "/usr/bin/gdb" - }, - { - "name": "Debuggen (gdb)", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/%NAME%", - "args": [], - "stopAtEntry": false, - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "setupCommands": [ - { - "description": "Automatische Strukturierung und Einrückung für \"gdb\" aktivieren", - "text": "-enable-pretty-printing", - "ignoreFailures": true - } - ], - "preLaunchTask": "make all", - "miDebuggerPath": "/usr/bin/gdb" - } - ] + // 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": "Debuggen (gdb)", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/%NAME%", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Automatische Strukturierung und Einrückung für \"gdb\" aktivieren", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ], + "preLaunchTask": "make all", + "miDebuggerPath": "/usr/bin/gdb" + }, + { + "name": "test Debuggen (gdb)", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/test", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Automatische Strukturierung und Einrückung für \"gdb\" aktivieren", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ], + "preLaunchTask": "make test", + "miDebuggerPath": "/usr/bin/gdb" + } + ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 5d1e4cd..c899ce9 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,45 +1,31 @@ { - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "make all", - "type": "shell", - "command": "make -j all", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [ - "$gcc" - ] - }, - { - "label": "make clean", - "type": "shell", - "command": "make clean", - "problemMatcher": [] - }, - { - "label": "leak check", - "type": "shell", - "command": "/usr/bin/valgrind --leak-check=full ${workspaceFolder}/%NAME% -s", - "problemMatcher": [], - "dependsOn": "make all" - }, - { - "label": "leak check ALL", - "type": "shell", - "command": "/usr/bin/valgrind --leak-check=full --show-leak-kinds=all ${workspaceFolder}/%NAME% -s", - "problemMatcher": [], - "dependsOn": "make all" - }, - { - "label": "make test", - "type": "shell", - "command": "make -j test", - "problemMatcher": ["$gcc"], - } - ] + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "make all", + "type": "shell", + "command": "make -j all", + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$gcc" + ] + }, + { + "label": "make clean", + "type": "shell", + "command": "make clean", + "problemMatcher": [] + }, + { + "label": "make test", + "type": "shell", + "command": "make -j test", + "problemMatcher": ["$gcc"], + } + ] }