Skip to content
Snippets Groups Projects
Commit 0c60fff6 authored by Daniel Agar's avatar Daniel Agar
Browse files

vscode add lldb SITL debug launch targets

parent 783267bb
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,27 @@
}
]
},
{
"name": "(lldb) Launch (shell)",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"${workspaceFolder}/ROMFS/px4fmu_common",
"-s", "etc/init.d-posix/rcS",
"-t", "${workspaceFolder}/test_data"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build/px4_sitl_default/tmp",
"environment": [{"name": "PX4_SIM_MODEL", "value": "shell"}],
"externalConsole": true,
"MIMode": "lldb",
"setupCommands": [
{
"text": "pro hand -p true -s false -n false SIGCONT",
}
]
},
{
"name": "(gdb) Launch (jmavsim iris)",
"type": "cppdbg",
......@@ -55,6 +76,28 @@
],
"preLaunchTask": "jmavsim"
},
{
"name": "(lldb) Launch (jmavsim iris)",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [
"${workspaceFolder}/ROMFS/px4fmu_common",
"-s", "etc/init.d-posix/rcS",
"-t", "${workspaceFolder}/test_data"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build/px4_sitl_default/tmp",
"environment": [{"name": "PX4_SIM_MODEL", "value": "iris"}],
"externalConsole": true,
"MIMode": "lldb",
"preLaunchTask": "jmavsim",
"setupCommands": [
{
"text": "pro hand -p true -s false -n false SIGCONT",
}
]
},
{
"name": "(jlink) px4_fmu-v2",
"cwd": "${workspaceRoot}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment