123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- {
- "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"
- }
- },
- ]
- }
|