1{ 2 // Use IntelliSense to learn about possible attributes. 3 // Hover to view descriptions of existing attributes. 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 "version": "0.2.0", 6 "configurations": [ 7 { 8 "name": "Run ELFIO Tests", 9 "type": "cppdbg", 10 "request": "launch", 11 "program": "${workspaceFolder}/tests/ELFIOTest", 12 "args": [ 13 "-r", 14 "short" 15 ], 16 "stopAtEntry": false, 17 "cwd": "${workspaceFolder}/tests", 18 "environment": [], 19 "externalConsole": false, 20 "MIMode": "gdb", 21 "setupCommands": [ 22 { 23 "description": "Enable pretty-printing for gdb", 24 "text": "-enable-pretty-printing", 25 "ignoreFailures": true 26 } 27 ], 28 "preLaunchTask": "ELFIO Test build", 29 "miDebuggerPath": "/usr/bin/gdb" 30 }, 31 { 32 "name": "Run ELF Dump", 33 "type": "cppdbg", 34 "request": "launch", 35 "program": "${workspaceFolder}/examples/elfdump/elfdump", 36 "args": ["tests/elf_examples/crash.elf"], 37 "stopAtEntry": false, 38 "cwd": "${workspaceFolder}", 39 "environment": [], 40 "externalConsole": false, 41 "MIMode": "gdb", 42 "setupCommands": [ 43 { 44 "description": "Enable pretty-printing for gdb", 45 "text": "-enable-pretty-printing", 46 "ignoreFailures": true 47 } 48 ], 49 "preLaunchTask": "ELF Dump Build", 50 "miDebuggerPath": "/usr/bin/gdb" 51 } 52 ] 53}