[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: PDT 2.0, XDebug, and Remote Debugging

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