Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1053 [1.5.4] debugger path translation problem

closed-works-for-me
debugger (210)
7
2010-02-16
2010-01-22
desolat
No

Refers to closed bug 2900544. I'm still having issues with the path translation.

First: "Server" is the host Pydev (and thus the Pydev debugging server) runs on and "Client" is where the code is executed, right?
Thus, my setup is: Server is a Windows machine, Client is a Linux machine.

Settings: PATHS_FROM_CLIENT_TO_SERVER = [(r'/home/project/src', r'W:\project\src')]
Is that correct (first element in each tuple is the prefix on the client, second is the prefix on the server, right)?

Now with
DEBUG_CLIENT_SERVER_TRANSLATION = True
I get the following output when trying to debug /home/project/src/tests/pydec/test_pydev.py:

pydev debugger: to server: unable to find matching prefix for: W:\project\src\tests\pydev\test_pydev.py in ['/home/project/src']
pydev debugger: warning: trying to add breakpoint to file that does not exist: /home/project/src/tests/pydev/W:/project/src/tests/pydev/test_pydev.py (will have no effect)
pydev debugger: to client: unable to find matching prefix for: test_pydev.py in ['W:\\project\\src']

Something seems to be mixed up: A valid server path is being translated with the client prefixes (to server?). And the run script itself is being tried to be translated with the server prefixes (to client?).

Discussion

  • desolat
    desolat
    2010-01-22

    • priority: 5 --> 7
     
  • Fabio Zadrozny
    Fabio Zadrozny
    2010-02-16

    The mixup is that the server in this context is where the python process is running and the client is eclipse. I've updated the documentation to make that clear.

    If it still doesn't work, please reopen the bug.

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2010-02-16

    • status: open --> closed-works-for-me