Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » More advanced Mapper for xdebug?
More advanced Mapper for xdebug? [message #25346] Mon, 04 June 2007 21:11 Go to next message
oliver  is currently offline oliver Friend
Messages: 8
Registered: July 2009
Junior Member
Hi all,

Now that I got xdebug working with a simple project in PDT I am trying to
figure out how I am going to make it work with the project I need it for.
The project I want to use xdebug with doesn't map the project directory
directly to the server directory. It is like this:

Eclipse project:

myProject
->Site
->public_html
->app
->files.php...
->app_includes
->includes.php...
->config, build.xml...

On the server:
server
->public_html
->app
->app_version
->files.php...
->app_includes
->app_version
->includes.php...

So the additional "app_version" directory throws off the Dave Kelsey's
mapper, along with the Site/public_html project directories.

I don't know Java, and even less about eclipse plugin development so I am
wondering if anybody has had any experience creating a more elaborate
mapper. I looked at the source for Dave's mapper and I understand the
functions that are central to the mapping (mostly), but I am wondering how
bad the learning curve is to actually get the thing compiled and
functional.

Any thoughts are appreciated, thanks,

Oliver
Re: More advanced Mapper for xdebug? [message #26220 is a reply to message #25346] Thu, 07 June 2007 12:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbenner.pbu.edu

I've been reorganizing the path mapper during debugging when necessary
to get the proper target file up on screen if the debugger couldn't find it.

The current path mapper is decent, but I would be more interested in
being able to map project directories to server directories than just
specifying and prioritizing local search paths.

Oliver wrote:
> Hi all,
>
> Now that I got xdebug working with a simple project in PDT I am trying
> to figure out how I am going to make it work with the project I need it
> for. The project I want to use xdebug with doesn't map the project
> directory directly to the server directory. It is like this:
>
> Eclipse project:
>
> myProject
> ->Site
> ->public_html
> ->app
> ->files.php...
> ->app_includes
> ->includes.php...
> ->config, build.xml...
>
> On the server:
> server
> ->public_html
> ->app
> ->app_version
> ->files.php...
> ->app_includes
> ->app_version
> ->includes.php...
>
> So the additional "app_version" directory throws off the Dave Kelsey's
> mapper, along with the Site/public_html project directories.
>
> I don't know Java, and even less about eclipse plugin development so I
> am wondering if anybody has had any experience creating a more elaborate
> mapper. I looked at the source for Dave's mapper and I understand the
> functions that are central to the mapping (mostly), but I am wondering
> how bad the learning curve is to actually get the thing compiled and
> functional.
>
> Any thoughts are appreciated, thanks,
>
> Oliver
>
Re: More advanced Mapper for xdebug? [message #28159 is a reply to message #26220] Thu, 14 June 2007 11:32 Go to previous message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
I was hoping that other path mappers would be written. There was one
previously written by someone else but it hasn't been ported to the
new extension interface unfortunately.

Dave Kelsey


Joshua Benner wrote:
> I've been reorganizing the path mapper during debugging when necessary
> to get the proper target file up on screen if the debugger couldn't find
> it.
>
> The current path mapper is decent, but I would be more interested in
> being able to map project directories to server directories than just
> specifying and prioritizing local search paths.
>
> Oliver wrote:
>> Hi all,
>>
>> Now that I got xdebug working with a simple project in PDT I am trying
>> to figure out how I am going to make it work with the project I need
>> it for. The project I want to use xdebug with doesn't map the project
>> directory directly to the server directory. It is like this:
>>
>> Eclipse project:
>>
>> myProject
>> ->Site
>> ->public_html
>> ->app
>> ->files.php...
>> ->app_includes
>> ->includes.php...
>> ->config, build.xml...
>>
>> On the server:
>> server
>> ->public_html
>> ->app
>> ->app_version
>> ->files.php...
>> ->app_includes
>> ->app_version
>> ->includes.php...
>>
>> So the additional "app_version" directory throws off the Dave Kelsey's
>> mapper, along with the Site/public_html project directories.
>>
>> I don't know Java, and even less about eclipse plugin development so I
>> am wondering if anybody has had any experience creating a more
>> elaborate mapper. I looked at the source for Dave's mapper and I
>> understand the functions that are central to the mapping (mostly), but
>> I am wondering how bad the learning curve is to actually get the thing
>> compiled and functional.
>>
>> Any thoughts are appreciated, thanks,
>>
>> Oliver
>>
Previous Topic:AutoComplete without a trigger
Next Topic:nested arrays and xdebug
Goto Forum:
  


Current Time: Thu Apr 25 08:04:02 GMT 2024

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

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

Back to the top