2017-11-29 22:16:04 +00:00
|
|
|
{
|
|
|
|
// 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": [
|
2018-04-04 17:22:07 +00:00
|
|
|
{
|
|
|
|
"name": "(gdb) Launch",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/retroarch.exe",
|
|
|
|
"args": ["-v"],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
2018-12-16 17:40:29 +00:00
|
|
|
"externalConsole": true,
|
2018-04-04 17:22:07 +00:00
|
|
|
"MIMode": "gdb",
|
|
|
|
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-02-03 23:49:35 +00:00
|
|
|
{
|
2018-04-04 01:16:15 +00:00
|
|
|
"name": "(gdb) Attach",
|
2017-11-29 22:16:04 +00:00
|
|
|
"type": "cppdbg",
|
2018-04-04 01:16:15 +00:00
|
|
|
"request": "attach",
|
2017-11-29 22:16:04 +00:00
|
|
|
"program": "${workspaceFolder}/retroarch.exe",
|
2018-04-04 01:16:15 +00:00
|
|
|
"processId": "${command:pickProcess}",
|
2017-11-29 22:16:04 +00:00
|
|
|
"MIMode": "gdb",
|
|
|
|
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe",
|
|
|
|
"setupCommands": [
|
2018-04-04 01:16:15 +00:00
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
2017-11-29 22:16:04 +00:00
|
|
|
]
|
2017-12-05 19:28:24 +00:00
|
|
|
},
|
2020-01-05 10:32:56 +00:00
|
|
|
{
|
|
|
|
"name": "PSP-GDB Debugger",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/retroarchpsp.elf",
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"text": "symbol-file ${workspaceFolder}/retroarchpsp.elf",
|
|
|
|
"description": "read symbols for elf file",
|
|
|
|
"ignoreFailures": true
|
2020-01-06 14:38:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Enable all-exceptions",
|
|
|
|
"text": "-exec \"catch throw\"",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
2020-01-05 10:32:56 +00:00
|
|
|
],
|
|
|
|
"showDisplayString": true,
|
|
|
|
"targetArchitecture": "mips",
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"miDebuggerPath": "/usr/local/pspdev/bin/psp-gdb",
|
|
|
|
"miDebuggerServerAddress": "127.0.0.1:10001",
|
|
|
|
}
|
2017-11-29 22:16:04 +00:00
|
|
|
]
|
|
|
|
}
|