{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Launch TCM", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/exe/blinky.axf", "args": [], "stopAtEntry": true, "cwd": "${workspaceFolder}", "environment": [], "MIMode": "gdb", "miDebuggerPath": "arm-none-eabi-gdb", // "debugServerPath": "JLinkGDBServerCLExe", // "debugServerArgs": "-select USB -device Cortex-R4 -endian little -if JTAG -speed 1000 -ir -LocalhostOnly", // "serverStarted": "Listening on TCP/IP port 2331", "logging": { "engineLogging": true, "exceptions": true, "moduleLoad": true, "programOutput": true, "trace": true, "traceResponse": true }, "setupCommands": [ { "description": "Connect to gdb server.", "text": "target remote localhost:3333", "ignoreFailures": false }, { "description": "Load executable into debugger.", "text": "file ${workspaceFolder}/exe/blinky.axf", "ignoreFailures": false }, { "description": "Set stack pointer", "text": "set $sp = g_pfnVectors[0]", "ignoreFailures": false }, { "description": "Set program counter", "text": "set $pc = g_pfnVectors[1]", "ignoreFailures": false } ] } ] }