--- /dev/null
+{
+ "configurations": [
+ {
+ "name": "Debug fping",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "${workspaceFolder}/src/fping",
+ "args": ["127.0.0.1"],
+ "stopAtEntry": false,
+ "cwd": "${workspaceFolder}",
+ "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
+ }
+ ],
+ "preLaunchTask": "build",
+ "postDebugTask": "autoclean",
+ "miDebuggerPath": "/usr/bin/gdb",
+ "logging": {
+ "engineLogging": false
+ }
+ }
+ ],
+ "version": "2.0.0"
+}
\ No newline at end of file
--- /dev/null
+{
+ "tasks": [
+ {
+ "type": "shell",
+ "label": "autogen",
+ "command": "./autogen.sh",
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "problemMatcher": []
+ },
+ {
+ "type": "shell",
+ "label": "configure",
+ "command": "./configure",
+ "args": ["--enable-debug"],
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "dependsOn": ["autogen"],
+ "problemMatcher": []
+ },
+ {
+ "type": "shell",
+ "label": "build",
+ "command": "make",
+ "args": ["CFLAGS=\"-g -O0\""],
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "dependsOn": ["configure"],
+ "problemMatcher": ["$gcc"]
+ },
+ {
+ "type": "shell",
+ "label": "autoclean",
+ "command": "./autoclean.sh",
+ "problemMatcher": []
+ }
+ ],
+ "version": "2.0.0"
+}
\ No newline at end of file