Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] XDebug, remote debug and Eclipse editor file path

This was addressed, but I can't remember if it got into PDT 2.0.1 or
whether this was fixed in PDT 2.1. Are you on PDT 2.0.1 ? if not then you
could try that. If you are then you will need to move to PDT 2.1 (Eclipse
3.5 Galileo).

Regards

Dave Kelsey


pdt-dev-bounces@xxxxxxxxxxx wrote on 04/09/2009 14:58:25:

> From:
>
> PomCompot <pomme_compote-pdteclipse@xxxxxxxx>:
>
> To:
>
> pdt-dev@xxxxxxxxxxx
>
> Date:
>
> 04/09/2009 14:58
>
> Subject:
>
> [pdt-dev] XDebug, remote debug and Eclipse editor file path
>
> Sent by:]
>
> pdt-dev-bounces@xxxxxxxxxxx
>
> Hi,
>
> I get a little problem with PHP debugging with X-Debug. I thnik it's
> related to path mapping or something like that.
>
> I have installed PDT on Eclipse 3.4 Ganymede and the Firefox add-on
> to enable/disable debugging from the status bar.
>
> It works fine, except one thing, when it entered debug on Eclipse,
> it opens the editor with the absolute path of the file and not with
> the path relative to the project where the file is located..
>
> I can debug, but setting new breakpoints during debug set them on
> the system file (absolute path) and not in the corresponding project
> file. Moreover, with this problem, I could have the same file opened
> twice in Eclipse: one that I opened with a path relative to its
> containing project, one opened by the debug with an absolute system path.

> Any idea for a solution?
>
> Thanks.
>
> Stephane
>
> Details of the configuration.
> Eclise Ganymede 3.4 on Ubuntu Jaunty Jackalope 9.04 with Firefox 3.
> 0.13 with Xdebug helper addon 0.3.1
>
> xdebug.ini:
> zend_extension=/usr/lib/php5/20060613+lfs/xdebug.so
>
> xdebug.remote_enable=On
> xdebug.remote_host="localhost"
> xdebug.remote_port=9000
> xdebug.remote_handler="dbgp"
> xdebug.remote_mode=req
> xdebug.idekey=ECLIPSE_XDEBUG
>
> project path:
> /media/data/Workspace/MyApp
>
> url and apache alias config (http://localhost/MyApp)>
> Alias /MyApp "/media/data/Workspace/MyApp/www"
>
> <Directory /media/data/Workspace/MyApp>
>     Options Indexes FollowSymLinks
>     Order Deny,Allow
>     Allow from All
> </Directory>
>
> path mapping in Eclipse:
> Path on server => Local path
> /MyApp           => /MyApp
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pdt-dev



Back to the top