Skip to content

GDB launch issue. Could not deternine path to index cache directory. #6

@dvescovi1

Description

@dvescovi1

I am using VS Code on Windows 10.
I have installed the GNU ARM tool chain 8.2.1 and GNU debugger.
I also have JLINK 644e installed.
I had this setup working before on another W10 setup but on my new setup I am getting this error on launch:
"C:\Program Files (x86)\GNU Tools ARM Embedded\8 2018-q4-major\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory."

Here is my launch.json:

{
// 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": [
{
"type": "gnu-debugger",
"request": "launch",
"name": "GNU debugger",
"program": "${workspaceFolder}/build/wasp_M4.elf",
// "toolchain": "${config:arm-none-eabi.bin}",
"client": "arm-none-eabi-gdb",
"server": "JLinkGDBServer",
"windows": {
"server": "C:/Program Files (x86)/SEGGER/JLink_V644e/JLinkGDBServerCL.exe",
},
"serverArgs": [
"-device", "MIMX8MM6_M4",
"-if", "SWD",
"-speed", "4000"
],
"serverPort": 2331,
"customVariables": [
"port0",
"port1",
"port2",
],
"autoRun": false,
"debugOutput": false,
}
]
}

Any ideas what might be the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions