Setup: Python 2.6, Pydev 1.5.1, Client (dev host) is Windows, Server (target host) is Linux
Translation of the client to server path in the NormFileToServer() function
fails because the backslashes in the part of the client path after the
client prefix do not get replaced and thus Python on Linux can not find the
Example: client prefix is "C:\", server prefix is "/home/user", client file
path is "C:\package\source_file.py"
NormFileToServer() translates it to "/home/user/package\source_file.py" ->
notice the backslash! This path is not resolvable by Unix and
pydevd.py:processNetCommand() will fail at line 462.
Workaround: Translate the backslashes to in the translated path to os.sep,
thus on every system the correct path format will apply. (Also Windows
would also cope with slashes!).