Path Mapping and remote debugging [message #531696] |
Wed, 05 May 2010 19:53  |
ssoares  Messages: 5 Registered: May 2010 |
Junior Member |
|
|
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 20:02] Report message to a moderator
|
|
|
Re: Path Mapping and remote debugging [message #531778 is a reply to message #531696] |
Thu, 06 May 2010 07:42   |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
As far as I know RSE isn't supported with debug in PDT, so you are going
to come across various problems.
Dave Kelsey
On 05/05/10 20:53, ssoares wrote:
> Hello, I apologize for my english...
>
> I know how to configure eclipse for local development.
> But know, 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 first 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.
>
> Thanks for any help you could provide to me.
|
|
|
|
|
Re: Path Mapping and remote debugging [message #532570 is a reply to message #531696] |
Mon, 10 May 2010 13:31   |
ssoares  Messages: 5 Registered: May 2010 |
Junior Member |
|
|
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.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01557 seconds