I'm trying to solve a bug that results from the program trying to move a directory it already has open elsewhere. The program is written in Python and I managed to run it in the Visual Studio Code debugger. Now I'm on a breakpoint directly before the line where it will fail. In procexp.exe
I can see that the process indeed has the directory in question open. However, it does not tell me more. Can I find out from the debugger where the directory was opened or at least in which thread? Or any other helpful information?
Edit: Possibly it was not the directory that was open, but some files underneath it. However, Windows consistently only reported the directory to be in use (in handle.exe, procexp.exe and rammap.exe).