Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT 2.0, XDebug, and Remote Debugging
PDT 2.0, XDebug, and Remote Debugging [message #88084] Thu, 01 January 2009 06:02 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:v.2.0, working set selecting hides include paths
Next Topic:New Projects
Goto Forum:
  


Current Time: Fri Apr 19 23:51:07 GMT 2024

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

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

Back to the top