obliteration/.vscode/launch.json
Putta Khunchalee 7a65dbb25a
Some checks are pending
Development Build / Build (push) Waiting to run
Development Build / Update PRs (push) Waiting to run
Initializes GDB session (#1020)
2024-10-06 21:40:00 +02:00

56 lines
1.3 KiB
JSON

{
"configurations": [
{
"name": "GUI",
"type": "lldb",
"request": "launch",
"args": [],
"cwd": "${workspaceFolder}",
"windows": {
"program": "${workspaceFolder}/build/gui/Obliteration.exe",
"env": {
"Path": "${env:Path};${env:CMAKE_PREFIX_PATH}\\bin"
}
},
"linux": {
"program": "${workspaceFolder}/build/gui/obliteration"
},
"osx": {
"program": "${workspaceFolder}/build/gui/obliteration.app/Contents/MacOS/obliteration"
}
},
{
"name": "Kernel",
"type": "lldb",
"request": "custom",
"preLaunchTask": "Launch VMM (Debug)",
"targetCreateCommands": [
"target create ${workspaceFolder}/target/x86_64-unknown-none/debug/obkrnl"
],
"processCreateCommands": [
"gdb-remote 1234"
]
},
{
"name": "Legacy Kernel",
"type": "lldb",
"request": "launch",
"cargo": {
"args": [
"build",
"--manifest-path",
"${workspaceFolder}/src/kernel/Cargo.toml"
],
"filter": {
"kind": "bin"
}
},
"args": [
"--debug"
],
"cwd": "${workspaceFolder}"
}
],
"version": "2.0.0"
}