Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Milestone 3 & Voting for the PDT 1.0
Milestone 3 & Voting for the PDT 1.0 [message #47950] Thu, 30 August 2007 05:20 Go to next message
Eclipse UserFriend
Originally posted by: ganoro.gmail.com

* Milestone 3 is released! you are all invited to test drive it!
Following is Alon's notes about this release.

> Hi all,
>
> We have released the Milestone 3 of PDT 1.0.
> There is currently a problem with the update site, which does not allow to
> use the update manager. We are working on it and hope to resolve over the
> weekend.
> The files are currently available for download through the downloads page:
> http://download.eclipse.org/tools/pdt/downloads/?release=S20 070826-M3
>
> Regards,
> Alon

* The PDT team participated (yesterday) in the release review with the
Eclipse Foundation people, you are all invited to the Community Advisory
Voting for the PDT 1.0 Release Review. Please enter your comments and vote
using this URL: https://bugs.eclipse.org/bugs/show_bug.cgi?id=200578.

Bests,
Re: Milestone 3 & Voting for the PDT 1.0 [message #47980 is a reply to message #47950] Thu, 30 August 2007 07:31 Go to previous messageGo to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Roy Ganor" <ganoro@gmail.com> ha scritto nel messaggio
news:b554111537765c8b91206a51175176ab$1@www.eclipse.org...


>
> * The PDT team participated (yesterday) in the release review with the
> Eclipse Foundation people, you are all invited to the Community Advisory
> Voting for the PDT 1.0 Release Review. Please enter your comments and vote
> using this URL: https://bugs.eclipse.org/bugs/show_bug.cgi?id=200578.

It would be nice to know the fixes/enhancements (changelog), so we can check
something and comment it.
Re: Milestone 3 & Voting for the PDT 1.0 [message #48010 is a reply to message #47980] Thu, 30 August 2007 07:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: juice.hi.makni.htnet.hr

Fabio wrote:
> "Roy Ganor" <ganoro@gmail.com> ha scritto nel messaggio
> news:b554111537765c8b91206a51175176ab$1@www.eclipse.org...
>
>
>> * The PDT team participated (yesterday) in the release review with the
>> Eclipse Foundation people, you are all invited to the Community Advisory
>> Voting for the PDT 1.0 Release Review. Please enter your comments and vote
>> using this URL: https://bugs.eclipse.org/bugs/show_bug.cgi?id=200578.
>
> It would be nice to know the fixes/enhancements (changelog), so we can check
> something and comment it.
>
>

http://download.eclipse.org/tools/pdt/downloads/drops/S20070 826-M3/changelog.html

Regards,
Ivan
Re: Milestone 3 & Voting for the PDT 1.0 [message #48098 is a reply to message #47950] Thu, 30 August 2007 09:11 Go to previous messageGo to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Roy Ganor" <ganoro@gmail.com> ha scritto nel messaggio
news:b554111537765c8b91206a51175176ab$1@www.eclipse.org...

>> The files are currently available for download through the downloads
>> page:
>> http://download.eclipse.org/tools/pdt/downloads/?release=S20 070826-M3

But the debug (XDebug) does not works!

I launch Debug As -> PHP Web Script using XDebug and the page is launched in
browser but the debug is ignored and terminated.

When I open the Debug Dialog I get this error

http://tinyurl.com/2nlpzl

I must return to the org.eclipse.php_feature-incubation-I20070816 :(
Re: Milestone 3 & Voting for the PDT 1.0 [message #48128 is a reply to message #48098] Thu, 30 August 2007 12:32 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
There are 3 things you can try.
1. create a clean workspace (don't use an existing one, you may also
have to recreate the projects).
2. Check you are using Java 1.5 or later
3. Check you set the default debugger to be XDebug rather than Zend in the
PHP Debug preferences

Cheers
Dave Kelsey



Fabio wrote:
> "Roy Ganor" <ganoro@gmail.com> ha scritto nel messaggio
> news:b554111537765c8b91206a51175176ab$1@www.eclipse.org...
>
>>> The files are currently available for download through the downloads
>>> page:
>>> http://download.eclipse.org/tools/pdt/downloads/?release=S20 070826-M3
>
> But the debug (XDebug) does not works!
>
> I launch Debug As -> PHP Web Script using XDebug and the page is launched in
> browser but the debug is ignored and terminated.
>
> When I open the Debug Dialog I get this error
>
> http://tinyurl.com/2nlpzl
>
> I must return to the org.eclipse.php_feature-incubation-I20070816 :(
>
>
Re: Milestone 3 & Voting for the PDT 1.0 [message #48217 is a reply to message #48128] Thu, 30 August 2007 13:46 Go to previous messageGo to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
news:fb6ddg$gl9$1@build.eclipse.org...

> There are 3 things you can try.
> 1. create a clean workspace (don't use an existing one, you may also
> have to recreate the projects).

Done: created a new project (so a new workspace) and recopied my project
files to the newer.

> 2. Check you are using Java 1.5 or later

Jre 1.6

> 3. Check you set the default debugger to be XDebug rather than Zend in the
> PHP Debug preferences

Done: checked all the configurations where I can choose from Zend and
XDebug.

Now, with the new workspace I got no errors but it still to ignore the
debug.
The page is executed (I see it in the browser) but the debug is immediately
terminated.
Re: Milestone 3 & Voting for the PDT 1.0 [message #48247 is a reply to message #48217] Thu, 30 August 2007 14:06 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Ok, couple of other things
1. is break on first line checked ?
2. does your document root point to your PDT workspace ?

I cannot recreate your situation yet as I can get M3 to debug web pages
using xdebug.

Dave Kelsey


Fabio wrote:
> "Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
> news:fb6ddg$gl9$1@build.eclipse.org...
>
>> There are 3 things you can try.
>> 1. create a clean workspace (don't use an existing one, you may also
>> have to recreate the projects).
>
> Done: created a new project (so a new workspace) and recopied my project
> files to the newer.
>
>> 2. Check you are using Java 1.5 or later
>
> Jre 1.6
>
>> 3. Check you set the default debugger to be XDebug rather than Zend in the
>> PHP Debug preferences
>
> Done: checked all the configurations where I can choose from Zend and
> XDebug.
>
> Now, with the new workspace I got no errors but it still to ignore the
> debug.
> The page is executed (I see it in the browser) but the debug is immediately
> terminated.
>
>
Re: Milestone 3 & Voting for the PDT 1.0 [message #48277 is a reply to message #48217] Thu, 30 August 2007 14:08 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Opps one other thing, does the window called "Debug" show anything at all ?
ie is there a terminated launch in it ?

Is there an indicator in the bottom right hand corner of PDT show an animated
marker saying "Launching ..." ?

Dave Kelsey

Fabio wrote:
> "Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
> news:fb6ddg$gl9$1@build.eclipse.org...
>
>> There are 3 things you can try.
>> 1. create a clean workspace (don't use an existing one, you may also
>> have to recreate the projects).
>
> Done: created a new project (so a new workspace) and recopied my project
> files to the newer.
>
>> 2. Check you are using Java 1.5 or later
>
> Jre 1.6
>
>> 3. Check you set the default debugger to be XDebug rather than Zend in the
>> PHP Debug preferences
>
> Done: checked all the configurations where I can choose from Zend and
> XDebug.
>
> Now, with the new workspace I got no errors but it still to ignore the
> debug.
> The page is executed (I see it in the browser) but the debug is immediately
> terminated.
>
>
Re: Milestone 3 & Voting for the PDT 1.0 [message #48307 is a reply to message #48277] Thu, 30 August 2007 14:33 Go to previous messageGo to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
news:fb6j1o$16l$2@build.eclipse.org...

> 1. is break on first line checked ?

Yes!
It's sure that I tested the max I can :)


> 2. does your document root point to your PDT workspace ?

I don't understand this: what do you ean?
Where (and why) I have to set a document (.php file?) as the root?
I always clicked the document to debug with the richt mouse button and
choose Debug As -> PHP Web script using XDebug.
This has always run and debug that document as the root.



> Opps one other thing, does the window called "Debug" show anything at all
> ?
> ie is there a terminated launch in it ?

The tab Debug?
Yes, now I run the debug, the page is launched and browsed, but the debug
tab tell:

<terminated>New_configuration (1) [PHP Web Script with XDebug]
<terminated>Remote Launch

(The debug created the New_configuration (1)... the last pdt release I don't
remember this action).


> Is there an indicator in the bottom right hand corner of PDT show an
> animated
> marker saying "Launching ..." ?

No.
And then... it was already launched and terminated :(

I really thank you for you help, and I hope to find a solution...
Re: Milestone 3 & Voting for the PDT 1.0 [message #48336 is a reply to message #48307] Thu, 30 August 2007 14:52 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Fabio wrote:
>> 2. does your document root point to your PDT workspace ?
>
> I don't understand this: what do you ean?
> Where (and why) I have to set a document (.php file?) as the root?
> I always clicked the document to debug with the richt mouse button and
> choose Debug As -> PHP Web script using XDebug.
> This has always run and debug that document as the root.
>
>
>
Document root is the top level directory of all your documents (.html, .htm)
and script files (.php) that your web server is configured to.


>> Opps one other thing, does the window called "Debug" show anything at all
>> ?
>> ie is there a terminated launch in it ?
>
> The tab Debug?
> Yes, now I run the debug, the page is launched and browsed, but the debug
> tab tell:
>
> <terminated>New_configuration (1) [PHP Web Script with XDebug]
> <terminated>Remote Launch
>
> (The debug created the New_configuration (1)... the last pdt release I don't
> remember this action).
>
>
If you have the option to "Debug As -> PHP Web script using XDebug." and given
the above launch entries in the Debug tab which confirms this, it looks like
you have the old XDebug plug-ins installed in your copy of eclipse. M3 contains
XDebug support and you should definitely not have these plug-ins installed in
an M3 installation.
You should delete the plugins
org.eclipse.php.xdebug.core_0.2.3.jar
org.eclipse.php.xdebug.ui_0.2.3.jar
org.eclipse.php.xdebug.sampleMapper_0.0.2.jar

and restart eclipse with the -clean option, or better still create a fresh install
of eclipse with PDT 1.0 M3.



>> Is there an indicator in the bottom right hand corner of PDT show an
>> animated
>> marker saying "Launching ..." ?
>
> No.
> And then... it was already launched and terminated :(
>
> I really thank you for you help, and I hope to find a solution...
>
>
>

Cheers

Dave Kelsey
Re: Milestone 3 & Voting for the PDT 1.0 [message #48366 is a reply to message #48336] Thu, 30 August 2007 17:08 Go to previous messageGo to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
news:fb6lk3$957$1@build.eclipse.org...

> If you have the option to "Debug As -> PHP Web script using XDebug." and
> given
> the above launch entries in the Debug tab which confirms this, it looks
> like
> you have the old XDebug plug-ins installed in your copy of eclipse. M3
> contains
> XDebug support and you should definitely not have these plug-ins installed
> in
> an M3 installation.
> You should delete the plugins
> org.eclipse.php.xdebug.core_0.2.3.jar
> org.eclipse.php.xdebug.ui_0.2.3.jar
> org.eclipse.php.xdebug.sampleMapper_0.0.2.jar

Done.
I also reinstalled the pdt-all-in-one-incubation-S20070826_M3-win32.zip,
redone the workspace, reconfigured all the debug options to XDebug, set the
default PHP executable to the dir C:\program files\php (it ask only the dir,
not the php.exe).

>
> and restart eclipse with the -clean option, or better still create a fresh
> install
> of eclipse with PDT 1.0 M3.

Done.

It's worst.
I have only Debug As -> PHP Web Page (and I can think this is right), PHP
Web script using XDebug is desappeared.
When I run with Debug As -> PHP Web Page the debug tab says:

webtest [PHP Web Page]
PHP Application

and is still running, but the page that show in the browser is:

http://localhost/webtest.php?XDEBUG_SESSION_START=ECLIPSE_DB GP&KEY=11884931075002

and the html code produced is simply

"No input file specified."

And the debug cant debug nothing, breakpoints and all the code is ignored.
Re: Milestone 3 & Voting for the PDT 1.0 [FOUND] [message #48397 is a reply to message #48366] Thu, 30 August 2007 17:32 Go to previous messageGo to next message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Fabio" <znt.fabio@virgilio.it> ha scritto nel messaggio
news:fb6thp$u3f$1@build.eclipse.org...

> And the debug cant debug nothing, breakpoints and all the code is ignored.

Ok, I found the bug that in the previous release there wasn't!

It's a problem with Windows IIS.

It works if the http://localhost has as directory the one with the php site,
let's see c:\www\phpsite

Now, my localhost is on another directory (I have another ufficial site and
I use the one with eclipse as a debugged one), let's say c:\www\mysite

With IIS we can put the c:\www\phpsite as a virtual directory, let's say
http://localhost/phpsite

Now, the old PDT release didn't have problems: the page was correctly called
and debugged.

Now when I launch the debug it launch the page

http://localhost/file.php

and does not work.

*BUT*, I leave the debug active, I goes to the webbrowser and I lanch the
right address:

http://localhost/phpsite/file.php (where phpsite is the virtual directory)
the debug start and work fine!!!

The bug is that the addess debugged by the Debug As -> PHP Web Page is not
correct!

If someone can fix this it will be really nice :)

Thanks again
Re: Milestone 3 & Voting for the PDT 1.0 [FOUND] [message #48473 is a reply to message #48397] Thu, 30 August 2007 19:37 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
When you launch using the "Debug As--> Debug as Web page" the first time it will ask you for
the URL you want to send to the web browser.

If you create a debug launch, you will find an option which is to auto generate the URL
you need to turn this off and update the URL to be the URL you want. I am not sure why
but the project name is not included in the URL path when it is auto generated.

I hope to make a document available soon which describes using the new XDebug capabilities
in PDT that should cover this.

If you feel that there should be an option to include the URL in the auto generation when
creating a launch, it would be worth raising an enhancement request on bugzilla.

Cheers
Dave Kelsey
Re: Milestone 3 & Voting for the PDT 1.0 [FOUND] [message #48533 is a reply to message #48473] Thu, 30 August 2007 21:40 Go to previous messageGo to next message
exceptione is currently offline exceptioneFriend
Messages: 96
Registered: July 2009
Member
Dave Kelsey schreef:

> If you create a debug launch, you will find an option which is to auto
> generate the URL
> you need to turn this off and update the URL to be the URL you want. I
> am not sure why
> but the project name is not included in the URL path when it is auto
> generated.

>
> I hope to make a document available soon which describes using the new
> XDebug capabilities
> in PDT that should cover this.

Yes, please!

>
> If you feel that there should be an option to include the URL in the
> auto generation when
> creating a launch, it would be worth raising an enhancement request on
> bugzilla.
>
Do you mean:
"If you feel that there should be an option to include the *project
name* in the auto *generated URL*..." ?

That would be really handy imho. But is it possible to enter a distinct
URL for each project? That would make this option less urgent, although
it is really useful.
Re: Milestone 3 & Voting for the PDT 1.0 [FOUND] [message #48563 is a reply to message #48473] Thu, 30 August 2007 23:08 Go to previous message
Fabio Z is currently offline Fabio ZFriend
Messages: 46
Registered: July 2009
Member
"Dave Kelsey" <dkel50@hotmail.com> ha scritto nel messaggio
news:fb769v$78m$1@build.eclipse.org...

> When you launch using the "Debug As--> Debug as Web page" the first time
> it will ask you for
> the URL you want to send to the web browser.

You're right!
The problem is that I thinked it suggested the right url... the old release
didn't ask me for the url: it launched the page thith the right url and it
didn't list each page I debugged to the list in PHP Web Page in the Debug
Dialog window.
It was a little more handly/transparent: if I launch a temporary/test page
it will be listed... after some days I'll have a list of douzen pages that
don't exist anymore... :(


> If you feel that there should be an option to include the URL in the auto
> generation when
> creating a launch, it would be worth raising an enhancement request on
> bugzilla.

Now that I discover the solution I'm a little happy and I'll try some test
on it now :)

I thank you again for your help and for you're partecipation on this NG!
Previous Topic:Can't get XDebug to work
Next Topic:Browser not available
Goto Forum:
  


Current Time: Fri Apr 26 13:32:43 GMT 2024

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

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

Back to the top