Closed cryptomilk closed 1 month ago
What permissions do the files have? It's currently checking for user-executable permission
fs_stat
should definitely work, it is also used in the vscode launch.json logic and all over the neovim code base.
Oh I think I know what's going on. fs_path
receives relative paths, which it resolves based on cwd. With a custom path the filtering is therefore broken. I first had absolute paths but changed that to relative to have more readable output in the prompt.
I'll whip up a fix
Can you try with https://github.com/mfussenegger/nvim-dap/pull/1221 ?
Debug adapter definition and debug configuration
pick_files only gives me an empty list:
Debug adapter version
master
Steps to Reproduce
Expected Result
Get a executable file list
Actual Result
Empty list
If I count the files it walks with vim.fs.dir(), I see it finds 14k files. If I set
exeutables = false
it works.My lua-lanaguage server tells me:
If I add a bit of more debug:
check file: default/source4/dsdb/samdb/ldb_modules/tests/test_unique_object_sids.c.9.o
no stat
It looks like stat always fails.