Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Path Mapping and remote debugging
Path Mapping and remote debugging [message #531696] Wed, 05 May 2010 19:53 Go to next message
ssoares  is currently offline ssoares Friend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #532004 is a reply to message #531778] Thu, 06 May 2010 17:56 Go to previous messageGo to next message
ssoares  is currently offline ssoares Friend
Messages: 5
Registered: May 2010
Junior Member
Hi,

Thanks for helping me.

I can debug some scripts and in the index.php it seems to work fine.
I tried to create a local project and synchronize with the remote project but it's too long and eclipse often ends with no response activity.

I'm not able to find out a good process allowing to develop remote projects, debug and synchronize.

I wasting my time.
If it's not possible to debug a remote project, Does anyone knows a better solution?

I'm testing Netbeans and I think it's a better solution. But it miss me some features that I like in Eclipse.

I hope someone will help me about this.
Re: Path Mapping and remote debugging [message #532204 is a reply to message #532004] Fri, 07 May 2010 13:57 Go to previous messageGo to next message
dominik is currently offline dominikFriend
Messages: 122
Registered: July 2009
Senior Member
On 2010-05-06 19:56, ssoares wrote:
> Hi,
> Thanks for helping me.
>
> I can debug some scripts and in the index.php it seems to work fine.
> I tried to create a local project and synchronize with the remote
> project but it's too long and eclipse often ends with no response activity.

What process is taking too long? How You sync your projects?


> I'm not able to find out a good process allowing to develop remote
> projects, debug and synchronize.
> I wasting my time.
> If it's not possible to debug a remote project, Does anyone knows a
> better solution?
> I'm testing Netbeans and I think it's a better solution. But it miss me
> some features that I like in Eclipse.
> I hope someone will help me about this.

Few days ago someone wrote about his scheme for remote debuging. Maybe You will
find his way much better.

d.
Re: Path Mapping and remote debugging [message #532570 is a reply to message #531696] Mon, 10 May 2010 13:31 Go to previous messageGo to next message
ssoares  is currently offline ssoares Friend
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.
Re: Path Mapping and remote debugging [message #532596 is a reply to message #532570] Mon, 10 May 2010 14:24 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Hi ssoares,

>
> Thanks a lot for your help and sorry for my english.
>

Here is the reason:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=295167

Pls, look at all Depends on: task recursively.

It looks like it should be much much better in Helios.

Personally I will do the same test with FTP feature, when Helios GA will be out and
I hope that the FTP feature will be as fast as Aptana's FTP feature ( which i'm using now,
but doesn't support remote debug as PDT + RSE ) or even better a few percent faster.

The best would be if RSE FTP would be so fast as is FileZilla or SmartFTP :D :D :D ( but it's only dream )

I hope that this help you.
Re: Path Mapping and remote debugging [message #533713 is a reply to message #532596] Sat, 15 May 2010 23:41 Go to previous message
ssoares  is currently offline ssoares Friend
Messages: 5
Registered: May 2010
Junior Member
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.
Previous Topic:html and javascript code assist does't work in php files with PDT2.2
Next Topic:PHP Popup documentation
Goto Forum:
  


Current Time: Wed Feb 01 16:59:21 GMT 2023

Powered by FUDForum. Page generated in 0.03624 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top