rt-thread/bsp/qemu-vexpress-a9/.vscode/launch.json

97 lines
2.9 KiB
JSON
Raw Normal View History

{
"version": "0.2.0",
"configurations": [
{
"name": "Debug @ Mac/Linux",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/rtthread.elf",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"miDebuggerServerAddress": "localhost:1234",
"serverLaunchTimeout": 2000,
"targetArchitecture": "ARM",
"setupCommands": [
{
"text": "cd ${workspaceRoot}"
},
{
"text": "shell qemu-dbg.sh"
},
{
"text": "target remote localhost:1234"
},
{
"text": "file rtthread.elf"
},
{
"text": "break application_start"
}
],
"customLaunchSetupCommands": [],
"launchCompleteCommand": "exec-run",
"preLaunchTask": "qemu debug",
"osx": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb.exe"
}
},
{
"name": "Debug @ Windows",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}\\rtthread.elf",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"miDebuggerServerAddress": "localhost:1234",
"serverLaunchTimeout": 2000,
"targetArchitecture": "ARM",
"setupCommands": [
{
"text": "cd ${workspaceRoot}"
},
{
"text": "shell qemu-dbg.bat"
},
{
"text": "target remote localhost:1234"
},
{
"text": "file rtthread.elf"
},
{
"text": "break main"
}
],
"customLaunchSetupCommands": [],
"launchCompleteCommand": "exec-run",
"osx": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb"
},
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "arm-none-eabi-gdb.exe"
}
},
]
}