2021-07-02 19:27:34 +02: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": [
|
2022-08-12 23:32:30 +02:00
|
|
|
{
|
|
|
|
"name": "Main (gdb) Launch",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2024-01-06 10:42:07 +01:00
|
|
|
"program": "/run/current-system/sw/bin/godot4",
|
2022-08-12 23:32:30 +02:00
|
|
|
"args": [
|
|
|
|
"${workspaceFolder}/examples/menu/menu.tscn",
|
|
|
|
],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true,
|
|
|
|
},
|
|
|
|
{
|
2024-01-06 10:42:07 +01:00
|
|
|
"description": "Set Disassembly Flavor to Intel",
|
2022-08-12 23:32:30 +02:00
|
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
|
|
"ignoreFailures": true,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2021-07-02 19:27:34 +02:00
|
|
|
{
|
2022-06-23 17:27:47 +02:00
|
|
|
"name": "Editor (gdb) Launch",
|
2021-07-02 19:27:34 +02:00
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2024-01-06 10:42:07 +01:00
|
|
|
"program": "/run/current-system/sw/bin/godot4",
|
2022-06-23 17:27:47 +02:00
|
|
|
"args": [
|
|
|
|
"--editor",
|
|
|
|
],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true,
|
|
|
|
},
|
|
|
|
{
|
2024-01-06 10:42:07 +01:00
|
|
|
"description": "Set Disassembly Flavor to Intel",
|
2022-06-23 17:27:47 +02:00
|
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
|
|
"ignoreFailures": true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Debug forked child process",
|
|
|
|
"text": "-gdb-set follow-fork-mode child",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Test (gdb) Launch",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2024-01-06 10:42:07 +01:00
|
|
|
"program": "/run/current-system/sw/bin/godot4",
|
2022-06-23 17:27:47 +02:00
|
|
|
"args": [
|
|
|
|
"--no-window",
|
|
|
|
"-s",
|
|
|
|
"addons/gut/gut_cmdln.gd"
|
|
|
|
],
|
2021-07-02 19:27:34 +02:00
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
2022-06-23 17:27:47 +02:00
|
|
|
"ignoreFailures": true,
|
2021-07-02 19:27:34 +02:00
|
|
|
},
|
|
|
|
],
|
2022-06-23 17:27:47 +02:00
|
|
|
},
|
|
|
|
],
|
2024-01-06 10:42:07 +01:00
|
|
|
}
|