[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.pdt] Re: XDebug JIT fails ... somewhere
|
- From: Dave Kelsey <dkel50@xxxxxxxxxxx>
- Date: Fri, 23 Jan 2009 14:20:16 +0000
- Newsgroups: eclipse.tools.pdt
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.19 (Windows/20081209)
So I have tried to recreate your scenario as follows with a simple script
linux system:
/home/me/shared/level1/level2/myProg.php
/home/me shared as a SMB drive as "me"
windows system:
P:\ is a shared drive connected to "me"
PDT:
I have a new project called BugTest
I have a single linked folder to p:\shared called "shared"
I have break on first line (there are some issues to do with breakpoints related to the noted
bugzilla so this keeps it simple)
Remote Session Initiation is enabled
BugTest is in my include path
on the linux box I invoke from /home/me
php shared/level1/level2/myprog.php
on PDT I get prompted to select the file BugTest shared/level1/level2/myProg.php, which I select
and everything works.
So in my scenario, linked folders are searched, and it searches all include paths for the script
name that is initially invoked, so if you have a script (with the exact same case, ie myprog.php is
not the same as myProg.php) in multiple directories or even in different projects in the include
path it should find them.
You can check exactly what script is being looked for by turning on xdebug logging by adding
xdebug.remote_log=<filename> to your php.ini file. Look for the following in the log
Log opened at 2008-10-16 10:46:01
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/ht%20docs/phpcode/debug.php" language="PHP" protocol_version="1.0" appid="8136"
idekey="test"><engine version="2.0.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c)
2002-2008 by Derick Rethans]]></copyright></init>
in the <init> tag line, what is the entry for fileuri ?
do the cases match when you do a dir from your windows system of the file that shoudl be picked up ?
Dave Kelsey
Dave Kelsey wrote:
Sounds like linked folders could be the issue here.