Nicolas Capens | c871353 | 2017-04-26 11:52:47 -0400 | [diff] [blame] | 1 | { |
| 2 | "version": "0.2.0", |
| 3 | "configurations": [ |
Nicolas Capens | 741b356 | 2017-09-27 10:44:13 -0400 | [diff] [blame] | 4 | { |
| 5 | "name": "Gnome", |
| 6 | "type": "cppdbg", |
| 7 | "request": "launch", |
| 8 | "preLaunchTask": "make", |
| 9 | "program": "${workspaceRoot}/debug/OGLESIntroducingPVRApi", |
| 10 | "args": ["LD_LIBRARY_PATH=./"], |
| 11 | "stopAtEntry": false, |
| 12 | "cwd": "${workspaceRoot}/debug/", |
| 13 | "environment": [], |
| 14 | "externalConsole": true, |
| 15 | "linux": { |
| 16 | "MIMode": "gdb", |
| 17 | "setupCommands": [ |
| 18 | { |
| 19 | "description": "Enable pretty-printing for gdb", |
| 20 | "text": "-enable-pretty-printing", |
| 21 | "ignoreFailures": true |
| 22 | } |
| 23 | ] |
| 24 | }, |
| 25 | "osx": { |
| 26 | "MIMode": "lldb" |
| 27 | }, |
| 28 | "windows": { |
| 29 | "MIMode": "gdb", |
| 30 | "setupCommands": [ |
| 31 | { |
| 32 | "description": "Enable pretty-printing for gdb", |
| 33 | "text": "-enable-pretty-printing", |
| 34 | "ignoreFailures": true |
| 35 | } |
| 36 | ] |
| 37 | } |
| 38 | }, |
| 39 | { |
| 40 | "name": "Glass", |
| 41 | "type": "cppdbg", |
| 42 | "request": "launch", |
| 43 | "preLaunchTask": "make", |
| 44 | "program": "${workspaceRoot}/debug/OGLESGlass", |
| 45 | "args": ["LD_LIBRARY_PATH=./"], |
| 46 | "stopAtEntry": false, |
| 47 | "cwd": "${workspaceRoot}/debug/", |
| 48 | "environment": [], |
| 49 | "externalConsole": true, |
| 50 | "linux": { |
| 51 | "MIMode": "gdb", |
| 52 | "setupCommands": [ |
| 53 | { |
| 54 | "description": "Enable pretty-printing for gdb", |
| 55 | "text": "-enable-pretty-printing", |
| 56 | "ignoreFailures": true |
| 57 | } |
| 58 | ] |
| 59 | }, |
| 60 | "osx": { |
| 61 | "MIMode": "lldb" |
| 62 | }, |
| 63 | "windows": { |
| 64 | "MIMode": "gdb", |
| 65 | "setupCommands": [ |
| 66 | { |
| 67 | "description": "Enable pretty-printing for gdb", |
| 68 | "text": "-enable-pretty-printing", |
| 69 | "ignoreFailures": true |
| 70 | } |
| 71 | ] |
| 72 | } |
| 73 | }, |
Nicolas Capens | c871353 | 2017-04-26 11:52:47 -0400 | [diff] [blame] | 74 | { |
| 75 | "name": "SubzeroTest", |
| 76 | "type": "cppdbg", |
| 77 | "request": "launch", |
Nicolas Capens | 741b356 | 2017-09-27 10:44:13 -0400 | [diff] [blame] | 78 | "preLaunchTask": "make", |
| 79 | "program": "${workspaceRoot}/debug/SubzeroTest", |
Nicolas Capens | c871353 | 2017-04-26 11:52:47 -0400 | [diff] [blame] | 80 | "args": [], |
| 81 | "stopAtEntry": false, |
| 82 | "cwd": "${workspaceRoot}", |
| 83 | "environment": [], |
| 84 | "externalConsole": true, |
| 85 | "linux": { |
| 86 | "MIMode": "gdb", |
| 87 | "setupCommands": [ |
| 88 | { |
| 89 | "description": "Enable pretty-printing for gdb", |
| 90 | "text": "-enable-pretty-printing", |
| 91 | "ignoreFailures": true |
| 92 | } |
| 93 | ] |
| 94 | }, |
| 95 | "osx": { |
| 96 | "MIMode": "lldb" |
| 97 | }, |
| 98 | "windows": { |
| 99 | "MIMode": "gdb", |
| 100 | "setupCommands": [ |
| 101 | { |
| 102 | "description": "Enable pretty-printing for gdb", |
| 103 | "text": "-enable-pretty-printing", |
| 104 | "ignoreFailures": true |
| 105 | } |
| 106 | ] |
| 107 | } |
| 108 | }, |
| 109 | { |
| 110 | "name": "OGLES2HelloAPI", |
| 111 | "type": "cppdbg", |
| 112 | "request": "launch", |
Nicolas Capens | 741b356 | 2017-09-27 10:44:13 -0400 | [diff] [blame] | 113 | "preLaunchTask": "make", |
| 114 | "program": "${workspaceRoot}/debug/OGLES2HelloAPI", |
Nicolas Capens | c871353 | 2017-04-26 11:52:47 -0400 | [diff] [blame] | 115 | "args": [], |
| 116 | "stopAtEntry": false, |
| 117 | "cwd": "${workspaceRoot}", |
| 118 | "environment": [], |
| 119 | "externalConsole": true, |
| 120 | "linux": { |
| 121 | "MIMode": "gdb", |
| 122 | "setupCommands": [ |
| 123 | { |
| 124 | "description": "Enable pretty-printing for gdb", |
| 125 | "text": "-enable-pretty-printing", |
| 126 | "ignoreFailures": true |
| 127 | } |
| 128 | ] |
| 129 | }, |
| 130 | "osx": { |
| 131 | "MIMode": "lldb" |
| 132 | }, |
| 133 | "windows": { |
| 134 | "MIMode": "gdb", |
| 135 | "setupCommands": [ |
| 136 | { |
| 137 | "description": "Enable pretty-printing for gdb", |
| 138 | "text": "-enable-pretty-printing", |
| 139 | "ignoreFailures": true |
| 140 | } |
| 141 | ] |
| 142 | } |
| 143 | }, |
| 144 | { |
| 145 | "name": "C++ Attach", |
| 146 | "type": "cppdbg", |
| 147 | "request": "attach", |
| 148 | "program": "enter program name, for example ${workspaceRoot}/a.out", |
| 149 | "processId": "${command:pickProcess}", |
| 150 | "linux": { |
| 151 | "MIMode": "gdb", |
| 152 | "setupCommands": [ |
| 153 | { |
| 154 | "description": "Enable pretty-printing for gdb", |
| 155 | "text": "-enable-pretty-printing", |
| 156 | "ignoreFailures": true |
| 157 | } |
| 158 | ] |
| 159 | }, |
| 160 | "osx": { |
| 161 | "MIMode": "lldb" |
| 162 | }, |
| 163 | "windows": { |
| 164 | "MIMode": "gdb", |
| 165 | "setupCommands": [ |
| 166 | { |
| 167 | "description": "Enable pretty-printing for gdb", |
| 168 | "text": "-enable-pretty-printing", |
| 169 | "ignoreFailures": true |
| 170 | } |
| 171 | ] |
| 172 | } |
| 173 | } |
| 174 | ] |
| 175 | } |