PDT 2.0, XDebug, and Remote Debugging [message #88084] |
Thu, 01 January 2009 06:02  |
Eclipse User |
|
|
|
Originally posted by: chris.forthelose.net
Greetings,
I'm using PDT 2.0.0GA on Windows Vista and my development server is
Gentoo Linux. I was reading the "PDT 2.0 and XDebug Guide" and decided
to give it a try. Everything seems to work fine except for path translation.
I need a unix path to translate to a windows path in PDT so the proper
source shows up (instead of an error).
Example:
/var/www/localhost/htdocs/test.php
should translate to..
B:\test.php
I've played with the path mapping but no matter what path translation I
set the PHP Debugger in PDT completely ignores it.
So, my question is: Am I doing something stupid? :)
Thanks,
Chris A
|
|
|
Re: PDT 2.0, XDebug, and Remote Debugging [message #88100 is a reply to message #88084] |
Thu, 01 January 2009 13:43  |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotnospmail.com
How are you initiating the debug session ? Are you launching it from PDT
or are you trying remote session initiation ?
If you are launching from PDT then PDT should create a path mapping for
you unless you are trying to handle a special case. If you are can you
post the path mapping for your server and the extra entries you are
trying to add for that server.
If you are trying remote session initiation then you cannot provide
explicit path mappings, remote session initiation doesn't try to find a
defined server in PDT to get its path mappings. Everything is done on
the fly and if the source cannot be located then you should be prompted
with a dialog box to help select the file you want. You should ensure
that a copy of the file does exist in your workspace.
Hope this helps
Dave Kelsey
Chris A wrote:
> Greetings,
>
> I'm using PDT 2.0.0GA on Windows Vista and my development server is
> Gentoo Linux. I was reading the "PDT 2.0 and XDebug Guide" and decided
> to give it a try. Everything seems to work fine except for path translation.
>
> I need a unix path to translate to a windows path in PDT so the proper
> source shows up (instead of an error).
>
> Example:
> /var/www/localhost/htdocs/test.php
> should translate to..
> B:\test.php
>
> I've played with the path mapping but no matter what path translation I
> set the PHP Debugger in PDT completely ignores it.
>
> So, my question is: Am I doing something stupid? :)
>
> Thanks,
> Chris A
|
|
|
Powered by
FUDForum. Page generated in 0.02277 seconds