mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
70 lines
2.3 KiB
JSON
70 lines
2.3 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"name": "(gdb) Launch",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/retroarch.exe",
|
|
"args": ["-v"],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": true,
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "(gdb) Attach",
|
|
"type": "cppdbg",
|
|
"request": "attach",
|
|
"program": "${workspaceFolder}/retroarch.exe",
|
|
"processId": "${command:pickProcess}",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"description": "Enable all-exceptions",
|
|
"text": "-exec \"catch throw\"",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"showDisplayString": true,
|
|
"targetArchitecture": "mips",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/usr/local/pspdev/bin/psp-gdb",
|
|
"miDebuggerServerAddress": "127.0.0.1:10001",
|
|
}
|
|
]
|
|
} |