code-debug icon indicating copy to clipboard operation
code-debug copied to clipboard

Could not get threads: TypeError: `threads.map` is not a function

Open rsubtil opened this issue 1 month ago • 2 comments

When attempting to debug a Godot build, I get this warning immediately when a debug session starts:

Image

But thread information does eventually load without issue, and debugging functionality seems to work without issue either (pausing, resuming, stepping, etc...)

Image

launch.json:

{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Debug",
			"type": "lldb-mi",
			"request": "launch",
			"target": "./bin/godot.linuxbsd.editor.dev.x86_64.llvm",
			"arguments": "-e --path <...> --display-server wayland",
			"cwd": "${workspaceRoot}",
			"valuesFormatting": "parseText"
		}
	]
}

I can only find a single code reference where this is used: https://github.com/WebFreak001/code-debug/blob/c1bef0a281cc99eaca0dc782f15706cdb7000168/src/backend/mi2/mi2.ts#L765-L770

Let me know of any further info necessary from my side. I can't find any extension logs on VSCode's "Output" panel.

rsubtil avatar Oct 25 '25 12:10 rsubtil