XDebug with path mapper problem [message #6240] |
Sun, 18 March 2007 01:08  |
Eclipse User |
|
|
|
Originally posted by: apaz.yahoo.com
Hi,
I'm using the XDebug plugin with the path mapper (v 0.1.4).
I found out that if there are multiple files with the same name and you
put a breakpoint on one of them file, when the breakpoint is reached
Eclipse doesn't necessarily open the correct file, but the first one it
finds on that project with the given name.
So for example, I have these files
Project/add/index.php
Project/test/index.php
And I put a breakpoint in Project/test/index.php, when the breakpoint is
reached, Eclipse shows the source code of "Project/add'index.php"
Is this a known issue? Will it be fixed in the next release? If not any
suggestions what might be causing this and where should I start looking
to fix it?
I think something similar (if not the same) was fixed on previous releases.
Thanks!
-a.
|
|
|
|
|
Re: XDebug with path mapper problem [message #8970 is a reply to message #7535] |
Fri, 23 March 2007 08:35  |
Eclipse User |
|
|
|
Originally posted by: dominic.clifton.gr-tech.net
Hey Dave!
>I suspect the problem with the PathMapper version is that it remaps the
>outbound
> file name, but doesn't remap the inbound file name.
That's where I was going to suggest the problem was. It definately appears
to make sense as pdt has to map the path when setting break points (before
the script is executed on the server (and while paused in the debugger,
before resuming) and in reverse when those breakpoints are hit by the php
interpreter.
Dom
|
|
|
Powered by
FUDForum. Page generated in 0.03712 seconds