[xdebug-general] Re: Xdebug on linked files

From: Derick Rethans <derick[@]xdebug.org>
Date: Fri, 16 Dec 2011 12:06:33 +0000 (GMT)

Hi!

On Fri, 16 Dec 2011, Davide Tampellini wrote:

> I have a very strange problem, and i don't know where is the bug.
>
> i'm currently using Eclipse 3.7.1 with XAMPP 1.7.7 under Windows 7 64-bit.
> In my workspace, some files are "normal" ones, while others are hard-linked
> (ie. using mklink /J)
>
> Everything is working fine, i can debug with no problems BUT i can't do
> that on these linked files!
>
> On another pc, where is have a different Eclipse, XAMPP and Windows
> version, everything is working :(
>
> So where is the problem? On Eclipse, XDebug, or on 64-bit system?

It's a combination of Eclipse/Xdebug and the links. PHP and Xdebug only
deal with absolute resolved paths. Eclipse does not resolve the path to
it's full location when setting breakpoints, and thus Xdebug doesn't
recognise them when breakpoints are being set. I think it's the same
issue as in http://bugs.xdebug.org/view.php?id=432 (which is for Linux).

cheers,
Derick

-- 
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Fri Dec 16 2011 - 12:06:33 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST