mfussenegger / nvim-dap

Debug Adapter Protocol client implementation for Neovim
GNU General Public License v3.0
5.09k stars 179 forks source link

Handle paths relative to custom path in utils.pick_file #1221

Closed mfussenegger closed 1 month ago

mfussenegger commented 1 month ago

Should fix https://github.com/mfussenegger/nvim-dap/issues/1220

cryptomilk commented 1 month ago

Unfortunatly this doesn't fix it :-(

cryptomilk commented 1 month ago

The stat is till empty.

cryptomilk commented 1 month ago

Oh. the directory is wrong:

stat on default/source3/lib/netapi/examples/localgroup/localgroup_getmembers                                                                                                        
no stat

I pass /home/asn/workspace/prj/oss/samba/bin too it. So it thinks this is the current working directory, but the cwd is /home/asn/workspace/prj/oss/samba

It should be bin/default/source3/lib/netapi/examples/localgroup/localgroup_getmembers

mfussenegger commented 1 month ago

Right, I should've used the joined path for the filter too :)

Can you check the last fixup?

cryptomilk commented 1 month ago

This works! Yay :-)