Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT / XDebug / JIT Path Mapping
PDT / XDebug / JIT Path Mapping [message #92355] Fri, 30 January 2009 06:05 Go to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Got the latest maintenance release of 2.0.1 (M200901290831) which added
the ability to have mapped files load up as if they are part of the
project. An awesome improvement when debugging on the fly from the browser !

Two issues that have come up:

One is if there is no project open that would logically map to the
script file being debugged by XDebug I noticed that the debugger will
start and when you go to the properties of the MultiSession Manager the
path will say something about no information available.

Logged as bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262998

Second issue I haven't really been able to find out how my workspace got
into this state but it is sort of related to the first issue. The reason
why I noticed the first issue is that for some reason I can't select to
map a file within my project to the script being debugged by xdebug. If
I have 3 or 4 projects open with an index.php the dialog will show all
the index.php files in the other projects except the project I want. It
was working for a bit. Only thing that changed on my end was that I
renamed the project. I have reloaded eclipse with the -clean flag. I
cleaned the project and rebuilt it. Both cases the path mapping won't
show the file in that project.

For the second issue if anyone can point me where to look to see if a
configuration is wrong or a log file that shows some more details I can
track down how it is happening but for now it seems I can't debug that
one project.

--
Shawn Clark
Re: PDT / XDebug / JIT Path Mapping [message #92417 is a reply to message #92355] Fri, 30 January 2009 10:18 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Thanks for checking this out and the bug report.

As for your 2nd problem, this is another bug in PDT. The remote session initiation requires that
your project be on the include path (when you create a new project this is done for you
automatically). When you renamed the project, the include path isn't updated with the name change so
your projects include path will probably be empty or missing your project folder. Please could you
raise a bug about this. Note this is not specific to PDT debugging.

Regards
Dave Kelsey


Shawn Clark wrote:
> Got the latest maintenance release of 2.0.1 (M200901290831) which added
> the ability to have mapped files load up as if they are part of the
> project. An awesome improvement when debugging on the fly from the
> browser !
>
> Two issues that have come up:
>
> One is if there is no project open that would logically map to the
> script file being debugged by XDebug I noticed that the debugger will
> start and when you go to the properties of the MultiSession Manager the
> path will say something about no information available.
>
> Logged as bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262998
>
> Second issue I haven't really been able to find out how my workspace got
> into this state but it is sort of related to the first issue. The reason
> why I noticed the first issue is that for some reason I can't select to
> map a file within my project to the script being debugged by xdebug. If
> I have 3 or 4 projects open with an index.php the dialog will show all
> the index.php files in the other projects except the project I want. It
> was working for a bit. Only thing that changed on my end was that I
> renamed the project. I have reloaded eclipse with the -clean flag. I
> cleaned the project and rebuilt it. Both cases the path mapping won't
> show the file in that project.
>
> For the second issue if anyone can point me where to look to see if a
> configuration is wrong or a log file that shows some more details I can
> track down how it is happening but for now it seems I can't debug that
> one project.
>
> --
> Shawn Clark
Re: PDT / XDebug / JIT Path Mapping [message #92507 is a reply to message #92417] Fri, 30 January 2009 18:14 Go to previous messageGo to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Thanks for the update Dave. How do I fix this for the project I have
right now?

--
Shawn Clark

Dave Kelsey wrote:
> Thanks for checking this out and the bug report.
>
> As for your 2nd problem, this is another bug in PDT. The remote session
> initiation requires that your project be on the include path (when you
> create a new project this is done for you automatically). When you
> renamed the project, the include path isn't updated with the name change
> so your projects include path will probably be empty or missing your
> project folder. Please could you raise a bug about this. Note this is
> not specific to PDT debugging.
>
> Regards
> Dave Kelsey
>
>
> Shawn Clark wrote:
>> Got the latest maintenance release of 2.0.1 (M200901290831) which
>> added the ability to have mapped files load up as if they are part of
>> the project. An awesome improvement when debugging on the fly from the
>> browser !
>>
>> Two issues that have come up:
>>
>> One is if there is no project open that would logically map to the
>> script file being debugged by XDebug I noticed that the debugger will
>> start and when you go to the properties of the MultiSession Manager
>> the path will say something about no information available.
>>
>> Logged as bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262998
>>
>> Second issue I haven't really been able to find out how my workspace
>> got into this state but it is sort of related to the first issue. The
>> reason why I noticed the first issue is that for some reason I can't
>> select to map a file within my project to the script being debugged by
>> xdebug. If I have 3 or 4 projects open with an index.php the dialog
>> will show all the index.php files in the other projects except the
>> project I want. It was working for a bit. Only thing that changed on
>> my end was that I renamed the project. I have reloaded eclipse with
>> the -clean flag. I cleaned the project and rebuilt it. Both cases the
>> path mapping won't show the file in that project.
>>
>> For the second issue if anyone can point me where to look to see if a
>> configuration is wrong or a log file that shows some more details I
>> can track down how it is happening but for now it seems I can't debug
>> that one project.
>>
>> --
>> Shawn Clark
Re: PDT / XDebug / JIT Path Mapping [message #92521 is a reply to message #92417] Fri, 30 January 2009 18:21 Go to previous messageGo to next message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Bug was already existing:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=259062

Have added a comment about it breaking debugging as well.

--
Shawn Clark

Dave Kelsey wrote:
> Thanks for checking this out and the bug report.
>
> As for your 2nd problem, this is another bug in PDT. The remote session
> initiation requires that your project be on the include path (when you
> create a new project this is done for you automatically). When you
> renamed the project, the include path isn't updated with the name change
> so your projects include path will probably be empty or missing your
> project folder. Please could you raise a bug about this. Note this is
> not specific to PDT debugging.
>
> Regards
> Dave Kelsey
>
>
> Shawn Clark wrote:
>> Got the latest maintenance release of 2.0.1 (M200901290831) which
>> added the ability to have mapped files load up as if they are part of
>> the project. An awesome improvement when debugging on the fly from the
>> browser !
>>
>> Two issues that have come up:
>>
>> One is if there is no project open that would logically map to the
>> script file being debugged by XDebug I noticed that the debugger will
>> start and when you go to the properties of the MultiSession Manager
>> the path will say something about no information available.
>>
>> Logged as bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262998
>>
>> Second issue I haven't really been able to find out how my workspace
>> got into this state but it is sort of related to the first issue. The
>> reason why I noticed the first issue is that for some reason I can't
>> select to map a file within my project to the script being debugged by
>> xdebug. If I have 3 or 4 projects open with an index.php the dialog
>> will show all the index.php files in the other projects except the
>> project I want. It was working for a bit. Only thing that changed on
>> my end was that I renamed the project. I have reloaded eclipse with
>> the -clean flag. I cleaned the project and rebuilt it. Both cases the
>> path mapping won't show the file in that project.
>>
>> For the second issue if anyone can point me where to look to see if a
>> configuration is wrong or a log file that shows some more details I
>> can track down how it is happening but for now it seems I can't debug
>> that one project.
>>
>> --
>> Shawn Clark
Re: PDT / XDebug / JIT Path Mapping [message #92536 is a reply to message #92507] Fri, 30 January 2009 19:01 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
You could try re-configuring the include path for the project.

Dave Kelsey
Shawn Clark wrote:
> Thanks for the update Dave. How do I fix this for the project I have
> right now?
>
> --
> Shawn Clark
>
> Dave Kelsey wrote:
>> Thanks for checking this out and the bug report.
>>
>> As for your 2nd problem, this is another bug in PDT. The remote
>> session initiation requires that your project be on the include path
>> (when you create a new project this is done for you automatically).
>> When you renamed the project, the include path isn't updated with the
>> name change so your projects include path will probably be empty or
>> missing your project folder. Please could you raise a bug about this.
>> Note this is not specific to PDT debugging.
>>
>> Regards
>> Dave Kelsey
>>
>>
>> Shawn Clark wrote:
>>> Got the latest maintenance release of 2.0.1 (M200901290831) which
>>> added the ability to have mapped files load up as if they are part of
>>> the project. An awesome improvement when debugging on the fly from
>>> the browser !
>>>
>>> Two issues that have come up:
>>>
>>> One is if there is no project open that would logically map to the
>>> script file being debugged by XDebug I noticed that the debugger will
>>> start and when you go to the properties of the MultiSession Manager
>>> the path will say something about no information available.
>>>
>>> Logged as bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262998
>>>
>>> Second issue I haven't really been able to find out how my workspace
>>> got into this state but it is sort of related to the first issue. The
>>> reason why I noticed the first issue is that for some reason I can't
>>> select to map a file within my project to the script being debugged
>>> by xdebug. If I have 3 or 4 projects open with an index.php the
>>> dialog will show all the index.php files in the other projects except
>>> the project I want. It was working for a bit. Only thing that changed
>>> on my end was that I renamed the project. I have reloaded eclipse
>>> with the -clean flag. I cleaned the project and rebuilt it. Both
>>> cases the path mapping won't show the file in that project.
>>>
>>> For the second issue if anyone can point me where to look to see if a
>>> configuration is wrong or a log file that shows some more details I
>>> can track down how it is happening but for now it seems I can't debug
>>> that one project.
>>>
>>> --
>>> Shawn Clark
Re: PDT / XDebug / JIT Path Mapping [message #92585 is a reply to message #92536] Sat, 31 January 2009 15:57 Go to previous message
Shawn Clark is currently offline Shawn ClarkFriend
Messages: 70
Registered: July 2009
Member
Nice... added the project back to its own php include path and it works
again.

--
Shawn

Dave Kelsey wrote:
> You could try re-configuring the include path for the project.
>
> Dave Kelsey
> Shawn Clark wrote:
>> Thanks for the update Dave. How do I fix this for the project I have
>> right now?
>>
>> --
>> Shawn Clark
>>
>> Dave Kelsey wrote:
>>> Thanks for checking this out and the bug report.
>>>
>>> As for your 2nd problem, this is another bug in PDT. The remote
>>> session initiation requires that your project be on the include path
>>> (when you create a new project this is done for you automatically).
>>> When you renamed the project, the include path isn't updated with the
>>> name change so your projects include path will probably be empty or
>>> missing your project folder. Please could you raise a bug about this.
>>> Note this is not specific to PDT debugging.
>>>
>>> Regards
>>> Dave Kelsey
>>>
>>>
>>> Shawn Clark wrote:
>>>> Got the latest maintenance release of 2.0.1 (M200901290831) which
>>>> added the ability to have mapped files load up as if they are part
>>>> of the project. An awesome improvement when debugging on the fly
>>>> from the browser !
>>>>
>>>> Two issues that have come up:
>>>>
>>>> One is if there is no project open that would logically map to the
>>>> script file being debugged by XDebug I noticed that the debugger
>>>> will start and when you go to the properties of the MultiSession
>>>> Manager the path will say something about no information available.
>>>>
>>>> Logged as bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262998
>>>>
>>>> Second issue I haven't really been able to find out how my workspace
>>>> got into this state but it is sort of related to the first issue.
>>>> The reason why I noticed the first issue is that for some reason I
>>>> can't select to map a file within my project to the script being
>>>> debugged by xdebug. If I have 3 or 4 projects open with an index.php
>>>> the dialog will show all the index.php files in the other projects
>>>> except the project I want. It was working for a bit. Only thing that
>>>> changed on my end was that I renamed the project. I have reloaded
>>>> eclipse with the -clean flag. I cleaned the project and rebuilt it.
>>>> Both cases the path mapping won't show the file in that project.
>>>>
>>>> For the second issue if anyone can point me where to look to see if
>>>> a configuration is wrong or a log file that shows some more details
>>>> I can track down how it is happening but for now it seems I can't
>>>> debug that one project.
>>>>
>>>> --
>>>> Shawn Clark
Previous Topic:Hanging on exit, not saving workspace
Next Topic:I can't upgrade to the latest milestone
Goto Forum:
  


Current Time: Sat Dec 07 02:33:10 GMT 2024

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

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

Back to the top