More advanced Mapper for xdebug? [message #25346] |
Mon, 04 June 2007 17:11  |
Eclipse User |
|
|
|
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 07:32  |
Eclipse User |
|
|
|
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
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03568 seconds