The following forum message was posted by mpietrek at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4641556:
Hey all, I'm a relatively new Pydev user, just starting a few months back. I'm looking for some validation on whether I'm on the right track here. My scenario: I've got some Linux servers running in VMs. These servers have various python projects that I need to edit/debug, etc... Ordinarily I'd just run Eclipse/Pydev locally and life would be good. However, when working from home via VPN, X-Windows is completely unusable - The latency is just too high. To remedy this, I've installed Eclipse/Pydev on my workstation (Mac OS Snow Leopard). I've also installed the Remote System Explorer Plugin and using the SSH connector can see and edit projects remotely on the Linux VMs. So far, so good. However, remote debugging on the Linux systems has proved to be more or a challenge. I understand and accept that I need to add a reference and use pydevd from my source. I've had some limited success in that I can see in my Mac Eclipse instance that the process has debug-attached, and that I can step/run the remote app - just not with source debugging. Each time I step, the Eclipse debugger indicates that it can't find the source file. Thus the first question: 1) How do I get the Eclipse debugger to point at the remote machine sources? I can obviously see and edit these sources via RSE, it's just that the debugger seems unaware of them. I've noticed that there's a Pydev "Debug | source locater" dialog, but it implies that the sources are in both locations. I don't have the source locally - They're only on the remote system. What's the preferred way of working with this situation? Question 2: When starting/restarting a new process instance for debugging, is there a way to launch the python app *easily* from within the IDE, or do I need to switch to a shell on the remote machine and launch it manually? Thanks much for any help. I've searched long and hard for answers and while I see some related answers, none seem to address my specific questions. Matt ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users