Path Mapping and remote debugging [message #531696] |
Wed, 05 May 2010 15:53  |
Eclipse User |
|
|
|
Hello, I apologize for my english...
I know how to configure eclipse for local development.
But now, I need to work with project on remote systems.
I've installed RSE, I can connect with SSH.
It's really slow to open, build and refresh a project but everythigs seem to be ok.
I configured my project for remote debugging with XDebug.
But for a break point in /application/modules/... I have a message that says the file doesn't exist and the debugging is ended.
My question is:
Do I need to set all the directories in the path mapping in order to debug?
And if it's yes, Is it possible to do this automatically?
I use Eclipse for PHP Developers Build id: 20100218-1602.
Do I need to create a new server for each project with the right mapping or can i do a file and associate it for the current project?
Thanks for any help you could provide to me.
[Updated on: Wed, 05 May 2010 16:02] by Moderator
|
|
|
|
|
|
Re: Path Mapping and remote debugging [message #532570 is a reply to message #531696] |
Mon, 10 May 2010 09:31   |
Eclipse User |
|
|
|
Hi,
I test two different ways:
I first try to create a local project and I would like to synchronize it with the same project on a remote server.
In order to do it, I export my project. I choose the remote server, I click next and I have to wait a long (very long) time until the next button is available.
I can tick options like the location to save the export settings.
So I tried a second way:
In RSE perspective, I reached my project, right click, and create Remote project. Everything is ok and it's not too long.
But when a build start it takes more than 15min. I assumed it's necessary, I'm working on projects that contain a lot of files (zend libraries and our libraries). And verification never ends. Eclipse responds slowly.
And sometimes in the console window, I see a lot of ftp instruction. At the beginning everything seems to be ok but it never ends and errors appear. The time for a response is to long. I don't know why this occurs.
I also often have error message that pop up with no explicit meaning. I've done some checks through various forums.
I don't have enough time to check those message.
I think Eclipse is really good for local work and export files to remote server in order to test, but synchronization and remote development don't work very well.
with Netbeans, I don't have these problems. The local files are very long to import when creating the project but when I save my modifications, I don't see queued files, the debug starts as soon as I click and my modifications are taken into account.
In the 6.9, they implement a terminal window, so...
If somebody has a good way to develop PHP on remote server, I will try.
Thanks a lot for your help and sorry for my english.
|
|
|
|
Re: Path Mapping and remote debugging [message #533713 is a reply to message #532596] |
Sat, 15 May 2010 19:41  |
Eclipse User |
|
|
|
Thanks for this information.
I'll update RSE to 3.2 and i'll try again.
But it will be for my own use. I choose Netbeans for professional use.
I'm steal testing it in odrer to compare advantages and present it to the team.
Anyway, thanks for your help everybody.
|
|
|
Powered by
FUDForum. Page generated in 0.05571 seconds