Clone of official tools
export/vscode/launch.tmpl@47:21ae3e5a7128, 2021-02-04 (annotated)
- Committer:
- Anders Blomdell
- Date:
- Thu Feb 04 17:17:13 2021 +0100
- Revision:
- 47:21ae3e5a7128
- Parent:
- 36:96847d42f010
Add a few normpath calls
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
The Other Jimmy |
36:96847d42f010 | 1 | { |
The Other Jimmy |
36:96847d42f010 | 2 | "version": "0.2.0", |
The Other Jimmy |
36:96847d42f010 | 3 | "configurations": [ |
The Other Jimmy |
36:96847d42f010 | 4 | { |
The Other Jimmy |
36:96847d42f010 | 5 | "name": "C++ Launch", |
The Other Jimmy |
36:96847d42f010 | 6 | "type": "cppdbg", |
The Other Jimmy |
36:96847d42f010 | 7 | "request": "launch", |
The Other Jimmy |
36:96847d42f010 | 8 | "program": "${workspaceRoot}/BUILD/${workspaceRootFolderName}.elf", |
The Other Jimmy |
36:96847d42f010 | 9 | "args": [], |
The Other Jimmy |
36:96847d42f010 | 10 | "stopAtEntry": true, |
The Other Jimmy |
36:96847d42f010 | 11 | "cwd": "${workspaceRoot}", |
The Other Jimmy |
36:96847d42f010 | 12 | "environment": [], |
The Other Jimmy |
36:96847d42f010 | 13 | "externalConsole": false, |
The Other Jimmy |
36:96847d42f010 | 14 | "debugServerArgs": "", |
The Other Jimmy |
36:96847d42f010 | 15 | "serverLaunchTimeout": 20000, |
The Other Jimmy |
36:96847d42f010 | 16 | "filterStderr": true, |
The Other Jimmy |
36:96847d42f010 | 17 | "filterStdout": false, |
The Other Jimmy |
36:96847d42f010 | 18 | "serverStarted": "GDB\\ server\\ started", |
The Other Jimmy |
36:96847d42f010 | 19 | "preLaunchTask": "make", |
The Other Jimmy |
36:96847d42f010 | 20 | "setupCommands": [ |
The Other Jimmy |
36:96847d42f010 | 21 | { "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 22 | { "text": "-file-exec-and-symbols ${workspaceRoot}/BUILD/${workspaceRootFolderName}.elf", "description": "load file", "ignoreFailures": false}, |
The Other Jimmy |
36:96847d42f010 | 23 | { "text": "-interpreter-exec console \"monitor endian little\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 24 | { "text": "-interpreter-exec console \"monitor reset\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 25 | { "text": "-interpreter-exec console \"monitor halt\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 26 | { "text": "-interpreter-exec console \"monitor arm semihosting enable\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 27 | { "text": "-target-download", "description": "flash target", "ignoreFailures": false } |
The Other Jimmy |
36:96847d42f010 | 28 | ], |
The Other Jimmy |
36:96847d42f010 | 29 | "logging": { |
The Other Jimmy |
36:96847d42f010 | 30 | "moduleLoad": true, |
The Other Jimmy |
36:96847d42f010 | 31 | "trace": true, |
The Other Jimmy |
36:96847d42f010 | 32 | "engineLogging": true, |
The Other Jimmy |
36:96847d42f010 | 33 | "programOutput": true, |
The Other Jimmy |
36:96847d42f010 | 34 | "exceptions": true |
The Other Jimmy |
36:96847d42f010 | 35 | }, |
The Other Jimmy |
36:96847d42f010 | 36 | "linux": { |
The Other Jimmy |
36:96847d42f010 | 37 | "MIMode": "gdb", |
The Other Jimmy |
36:96847d42f010 | 38 | "MIDebuggerPath": "/usr/bin/arm-none-eabi-gdb", |
The Other Jimmy |
36:96847d42f010 | 39 | "debugServerPath": "pyocd-gdbserver" |
The Other Jimmy |
36:96847d42f010 | 40 | }, |
The Other Jimmy |
36:96847d42f010 | 41 | "osx": { |
The Other Jimmy |
36:96847d42f010 | 42 | "MIMode": "gdb", |
The Other Jimmy |
36:96847d42f010 | 43 | "MIDebuggerPath": "/usr/local/bin/arm-none-eabi-gdb", |
The Other Jimmy |
36:96847d42f010 | 44 | "debugServerPath": "pyocd-gdbserver" |
The Other Jimmy |
36:96847d42f010 | 45 | }, |
The Other Jimmy |
36:96847d42f010 | 46 | "windows": { |
The Other Jimmy |
36:96847d42f010 | 47 | "preLaunchTask": "make.exe", |
The Other Jimmy |
36:96847d42f010 | 48 | "MIMode": "gdb", |
The Other Jimmy |
36:96847d42f010 | 49 | "MIDebuggerPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\4.9 2015q3\\bin\\arm-none-eabi-gdb.exe", |
The Other Jimmy |
36:96847d42f010 | 50 | "debugServerPath": "pyocd-gdbserver.exe", |
The Other Jimmy |
36:96847d42f010 | 51 | "setupCommands": [ |
The Other Jimmy |
36:96847d42f010 | 52 | { "text": "-environment-cd ${workspaceRoot}\\BUILD" }, |
The Other Jimmy |
36:96847d42f010 | 53 | { "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 54 | { "text": "-file-exec-and-symbols ${workspaceRootFolderName}.elf", "description": "load file", "ignoreFailures": false}, |
The Other Jimmy |
36:96847d42f010 | 55 | { "text": "-interpreter-exec console \"monitor endian little\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 56 | { "text": "-interpreter-exec console \"monitor reset\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 57 | { "text": "-interpreter-exec console \"monitor halt\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 58 | { "text": "-interpreter-exec console \"monitor arm semihosting enable\"", "ignoreFailures": false }, |
The Other Jimmy |
36:96847d42f010 | 59 | { "text": "-target-download", "description": "flash target", "ignoreFailures": false } |
The Other Jimmy |
36:96847d42f010 | 60 | ] |
The Other Jimmy |
36:96847d42f010 | 61 | } |
The Other Jimmy |
36:96847d42f010 | 62 | } |
The Other Jimmy |
36:96847d42f010 | 63 | ] |
The Other Jimmy |
36:96847d42f010 | 64 | } |