PyDev.Debugger
PyDev.Debugger copied to clipboard
Path mapping mixup if different packages have modules by the same name
I'm using pydevd 1.5.1 on the client side and PyDev 7.1.0 on the server side for remote debugging. The path mappings are declared with pydevd_file_utils.setup_client_server_paths in the client script. Tthe mappings include entries for multiple packages. Two of them have a module by the same name (but obviously different paths). Unfortunately, the server opens the file from the package that comes first in the mappings even if the debugger steps into the module that belongs to the "other" package.
Until now it seemed that the debugger would pick a file with the correct name, but from the wrong package. It just happened that the file was plain wrong - both module and package.