GDB error when trying to launch debugger

Hi,

I'm developing using vscode and Nordic pluggin, Windows 10 OS. When I try to launch debugger, I get the following message:

"Unable to start debugging. Unexpected GDB output from command "-target-select-extended-remote 127.0.0.1:63241". Remote communication error. Target disconnected.: No such file or directory."

The launch configuration is the default:

	"launch": {
		"version": "0.2.0",
		"configurations": [
			{
				"type": "nrf-connect",
				"request": "launch",
				"name": "Launch build",
				"config": "${workspaceFolder}/build",
				"runToEntryPoint": "main"
			}
		]
	}

How can I make it run?

Thanks in advance,

Pedro.

Parents Reply
  • Hi,

    Thank you for testing.

    The developers have some further questions as well.

    • Do you have any other issues communicating with the device, or is it only when trying to debug you are seeing an issue?
    • Is the device connected to the computer through an USB hub?
    • Can you confirm that no other processes are trying to communicate with the device? E.g. if nRF Connect for Desktop or similar is running in the background.

    Best regards,
    Marte

Children
Related