Xdebug: files with same name [message #2869] |
Sat, 03 March 2007 07:51  |
Eclipse User |
|
|
|
Originally posted by: johan.bobsworld.be
Hello
In my project I have an index.php in the root directory and an index.php
in a subfolder named test. When I set a breakpoint in the test/index.php
and run the script, xdebug takes me to the debug screen of eclipse, but
the sourcefile of the index.php in the root of the project is shown
instead of the test/index.php.
Have the same problem with classes that have the same name, but are in
another folder.
Is this a known bug? Or is something wrong with the configuration of my
project?
Thanks in advance.
Johan Vandeweerd
|
|
|
|
|
|
|
|
|
|
Re: Xdebug: files with same name [message #12036 is a reply to message #11997] |
Wed, 04 April 2007 04:20  |
Eclipse User |
|
|
|
Max, the new version of XDebug will have an extension point which will
sort out this issue for you. You will need to port your port mapper to
the interface but that means you want need to patch the base code.
I am waiting for the next stable release from pdt and I will port the code
to that version and release it
Dave Kelsey
Maxim Tikhonov wrote:
> Hi, I am the author of the Path Mapper, and I have been away on the
> holiday.
>
> Yeah it is know issue (if you can call it that). I think the issue was
> that eclipse opens the file by the name only, so it opens the first file
> of that name it sees.
>
> What I have done is adjusted the source lookups, so that the folder I
> want overrides the default one.
>
> I will try to see if something can be done to fix the issue (from what I
> remember it wasn't an easy fix, or possible, otherwise I would have done
> it).
>
|
|
|
Powered by
FUDForum. Page generated in 0.05829 seconds