| { |
| "version": "0.2.0", |
| "configurations": [ |
| { |
| "name": "Gnome", |
| "type": "cppdbg", |
| "request": "launch", |
| "preLaunchTask": "make", |
| "program": "${workspaceRoot}/debug/OGLESIntroducingPVRApi", |
| "args": ["LD_LIBRARY_PATH=./"], |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}/debug/", |
| "environment": [], |
| "externalConsole": true, |
| "linux": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| }, |
| "osx": { |
| "MIMode": "lldb" |
| }, |
| "windows": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| } |
| }, |
| { |
| "name": "Glass", |
| "type": "cppdbg", |
| "request": "launch", |
| "preLaunchTask": "make", |
| "program": "${workspaceRoot}/debug/OGLESGlass", |
| "args": ["LD_LIBRARY_PATH=./"], |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}/debug/", |
| "environment": [], |
| "externalConsole": true, |
| "linux": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| }, |
| "osx": { |
| "MIMode": "lldb" |
| }, |
| "windows": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| } |
| }, |
| { |
| "name": "SubzeroTest", |
| "type": "cppdbg", |
| "request": "launch", |
| "preLaunchTask": "make", |
| "program": "${workspaceRoot}/debug/SubzeroTest", |
| "args": [], |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}", |
| "environment": [], |
| "externalConsole": true, |
| "linux": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| }, |
| "osx": { |
| "MIMode": "lldb" |
| }, |
| "windows": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| } |
| }, |
| { |
| "name": "OGLES2HelloAPI", |
| "type": "cppdbg", |
| "request": "launch", |
| "preLaunchTask": "make", |
| "program": "${workspaceRoot}/debug/OGLES2HelloAPI", |
| "args": [], |
| "stopAtEntry": false, |
| "cwd": "${workspaceRoot}", |
| "environment": [], |
| "externalConsole": true, |
| "linux": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| }, |
| "osx": { |
| "MIMode": "lldb" |
| }, |
| "windows": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| } |
| }, |
| { |
| "name": "C++ Attach", |
| "type": "cppdbg", |
| "request": "attach", |
| "program": "enter program name, for example ${workspaceRoot}/a.out", |
| "processId": "${command:pickProcess}", |
| "linux": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| }, |
| "osx": { |
| "MIMode": "lldb" |
| }, |
| "windows": { |
| "MIMode": "gdb", |
| "setupCommands": [ |
| { |
| "description": "Enable pretty-printing for gdb", |
| "text": "-enable-pretty-printing", |
| "ignoreFailures": true |
| } |
| ] |
| } |
| } |
| ] |
| } |