|
|
|
|
Re: Question about using the internal debugger [message #71638 is a reply to message #71621] |
Thu, 22 May 2008 23:09 |
No real name Messages: 53 Registered: July 2009 |
Member |
|
|
a) PDT 1.0.2
b) WTP 1.1.10x
c) Eclipse 3.3.2
I got the info for WTP and PDT from the "plugin details" window... I
downloaded the standard Europa jee tarball from the Eclipse download
webpage, untarred it, and made a launcher on my desktop that points to
the eclipse executable.
d) I'm not certain about this one. When I installed PDT, there were 2
choices. I checked both choices, and did the "Select Required" thing
with all the choices expanded. I did this through the "Software
updates..." option, so no manual intervention.
the following folders are present: *php*
features/org.eclipse.php_feature_1.0.2.v20080102-79-7GE7QYGH NGPGY
features/org.eclipse.php_feature.source_1.0.2.v20080102-79-7 GE7QYGHNGPGY
features/org.eclipse.php.sdk_feature_1.0.2.v20080102-2-384D2 _RHATdIRZIZaq8RZHIOHQ
plugins/org.eclipse.php_feature.source_1.0.2.v20080102-79-7G E7QYGHNGPGY
the following jars are in the plugin folder: *php*
plugins/org.eclipse.php_1.0.2.v20080102.jar
plugins/org.eclipse.php.help_1.0.2.v20080102.jar
plugins/org.eclipse.php.core_1.0.2.v20080102.jar
plugins/org.eclipse.php.server.core_1.0.2.v20080102.jar
plugins/org.eclipse.php.debug.core_1.0.2.v20080102.jar
plugins/org.eclipse.php.server.ui_1.0.2.v20080102.jar
plugins/org.eclipse.php.debug.daemon_1.0.2.v20080102.jar
plugins/org.eclipse.php.ui_1.0.2.v20080102.jar
plugins/org.eclipse.php.debug.ui_1.0.2.v20080102.jar
plugins/org.zend.php.debug.debugger.linux.x86_64_5.2.10.v200 70905.jar
Question: The frag jar file I downloaded contains OS specific stuff...
does that mean that another jar file is required in addition to this
one... there is another jar that seems to have no OS association:
org.zend.php.debug.debugger_5.2.10.v20070905.jar
I tried that... and now I have an entry in the "About Eclipse Platform
Plug-ins" window that shows as:
Zend Debugger for Linux x86_64 (Fragment)
I guess that didn't move the ball far enough.
d) cont'd... for the Zend debugger I did not "unpack the jar..." not
familiar with handling the "feature" when getting plug-ins into eclipse.
The URL I used for the remote site entry was:
http://downloads.zend.com/pdt
Eclipse said it found something... actually asked me to accept the
license but when the down load started it reported a 404.
The error message was actually:
--------------------------------
Update operation has failed
Error retrieving
"plugins/org.zend.php.debug.debugger.linux.x86_64_0.0.0.jar". [Server
returned HTTP response code: "404 Not Found" for URL:
http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_0.0.0.jar.]
Server returned HTTP response code: "404 Not Found" for URL:
http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_0.0.0.jar.
Update operation has failed
Error retrieving
"plugins/org.zend.php.debug.debugger.linux.x86_64_0.0.0.jar". [Server
returned HTTP response code: "404 Not Found" for URL:
http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_0.0.0.jar.]
Server returned HTTP response code: "404 Not Found" for URL:
http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_0.0.0.jar.
----------------------------------
The odd thing is eclipse is trying to retrieve
org.zend.php.debug.debugger.linux.x86_64_0.0.0.jar
notice the 0's... there is no file on that URL with that name.
I'll read your blog, but if you could give some pointers to get me back
to the tutorial it would be great.
R
Nick Boldt wrote:
> A few questions to help diagnose this...
>
> a) what version of PDT are you using?
> b) what version of WTP?
> c) what version of Eclipse?
>
> Good combinations of the above are: 1.0.x, 2.0.x, 3.3.x. No idea if this
> debugger works for PDT 1.1.x, WTP 3.0.x & Eclipse 3.4.x.
>
> d) did you also install the matching feature jar? And by install, I mean
> "unpack the jar so its contents appear in a subfolder in
> eclipse/features/?" Did you also grab the other link-numbered plugin(s)?
>
> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger_5.2.10.v20070905.jar
>
> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_5.2.10.v20070905.jar
>
> http://downloads.zend.com/pdt/features/org.zend.php.debug_fe ature_5.2.10.v20070905.jar
>
>
> Looks like you'll also have to download and unpack the debugger plugin
> jar. Not sure about the linux fragment jar (the one you downloaded --
> it's just a "fragment" which means it only contains OS-specific code,
> but not the actual runtime stuff).
>
> This downloading and unpacking stuff should all be done for you
> automatically if you give the site.xml URL to Eclipse's Update Manager
> (Eclipse 3.3 and earlier) or the new p2 Install Manager (in Eclipse 3.4).
>
> http://downloads.zend.com/pdt/site.xml
>
> Here's my blog entry on this subject:
>
> http://divby0.blogspot.com/2007/08/pdt-php-debugging-w-zend. html
>
> Good luck!
>
|
|
|
|
Re: Question about using the internal debugger [message #71828 is a reply to message #71696] |
Fri, 23 May 2008 19:39 |
No real name Messages: 53 Registered: July 2009 |
Member |
|
|
b) I've been using the onboard update tool... shouldn't that get me to
the latest versions?
Yes this procedure did work for me... I was able to complete the PDT
Basic Tutorial debugger section.
Comments:
a) It looks to me like this code is not used too frequently... therefore
the issues with installing it. Because it's used in the tutorial (ie
people are learning) I would say most people will probably lose interest
in PDT, as there is a plethora of other tools available, assuming the
tutorial is an entry point into PDT adoption.
b) While doing any eclipse tutorial from the Help section within
eclipse, when asked to activate a dialog, the scrolling and other
actions are disabled on the help window. So eg, while following along a
tutorial, the directions say "open this dialog and enter some stuff from
a few steps before in the tutorial"... oops, can't scroll back to that
spot if it's out of view.. cancel the dialog... go back... copy...
restart the dialog... paste.
Thanks for your help
R
Nick Boldt wrote:
>
>> b) WTP 1.1.10x
>
> I hope you mean 2.0 --
> http://download.eclipse.org/tools/pdt/downloads/release.php? release=R20080103
>
>
>> Update operation has failed
>> Error retrieving
>> "plugins/org.zend.php.debug.debugger.linux.x86_64_0.0.0.jar". [Server
>> returned HTTP response code: "404 Not Found" for URL:
>> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_0.0.0.jar.]
>
>
> Sounds like there's something wrong with the Zend update site. Here's
> the manual install hack:
>
> 0. shut down Eclipse
>
> 1. download these
>
> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger_5.2.10.v20070905.jar
>
> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_5.2.10.v20070905.jar
>
> http://downloads.zend.com/pdt/features/org.zend.php.debug_fe ature_5.2.10.v20070905.jar
>
>
> 2. put the feature jar in features/ and the plugin jars in plugins/
>
> 3. unpack them all into like-named folders
>
> eclipse/plugins/org.zend.php.debug.debugger_5.2.10.v20070905 /
> eclipse/plugins/org.zend.php.debug.debugger.linux.x86_64_5.2 .10.v20070905/
> eclipse/features/org.zend.php.debug_feature_5.2.10.v20070905 /
>
> 4. restart Eclipse
>
> Does that work? (FWIW, all the php I do is for the web, so I just use
> apache for debugging. print and print_r() FTW.)
>
> Nick
|
|
|
Re: Question about using the internal debugger [message #71874 is a reply to message #71828] |
Fri, 23 May 2008 22:31 |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
I'm not even sure what tutorial you're talking about, but it sounds like
it would benefit from either:
a) being opened in another browser (not in Eclipse) so it's not
blocking, or
b) being converted to use Cheat Sheets to drive the action (so it's
blocking only when it needs to be, ie., when you haven't completed a step)
For (a) the solution would be to have the PDT help stuff hosted at
help.eclipse.org so it's accessible independent of Eclipse (or to open
the help stuff in an external browser, not the embedded-in-Eclipse one).
For (b), if you can point me at the tutorial, maybe I can find time
somewhere to cheatsheet'ify this?
Nick
--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Richard Geddes wrote:
> b) I've been using the onboard update tool... shouldn't that get me to
> the latest versions?
>
> Yes this procedure did work for me... I was able to complete the PDT
> Basic Tutorial debugger section.
>
> Comments:
> a) It looks to me like this code is not used too frequently... therefore
> the issues with installing it. Because it's used in the tutorial (ie
> people are learning) I would say most people will probably lose interest
> in PDT, as there is a plethora of other tools available, assuming the
> tutorial is an entry point into PDT adoption.
>
> b) While doing any eclipse tutorial from the Help section within
> eclipse, when asked to activate a dialog, the scrolling and other
> actions are disabled on the help window. So eg, while following along a
> tutorial, the directions say "open this dialog and enter some stuff from
> a few steps before in the tutorial"... oops, can't scroll back to that
> spot if it's out of view.. cancel the dialog... go back... copy...
> restart the dialog... paste.
>
>
> Thanks for your help
> R
>
> Nick Boldt wrote:
>>
>>> b) WTP 1.1.10x
>>
>> I hope you mean 2.0 --
>> http://download.eclipse.org/tools/pdt/downloads/release.php? release=R20080103
>>
>>
>>> Update operation has failed
>>> Error retrieving
>>> "plugins/org.zend.php.debug.debugger.linux.x86_64_0.0.0.jar". [Server
>>> returned HTTP response code: "404 Not Found" for URL:
>>> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_0.0.0.jar.]
>>
>>
>>
>> Sounds like there's something wrong with the Zend update site. Here's
>> the manual install hack:
>>
>> 0. shut down Eclipse
>>
>> 1. download these
>>
>> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger_5.2.10.v20070905.jar
>>
>> http://downloads.zend.com/pdt/plugins/org.zend.php.debug.deb ugger.linux.x86_64_5.2.10.v20070905.jar
>>
>> http://downloads.zend.com/pdt/features/org.zend.php.debug_fe ature_5.2.10.v20070905.jar
>>
>>
>> 2. put the feature jar in features/ and the plugin jars in plugins/
>>
>> 3. unpack them all into like-named folders
>>
>> eclipse/plugins/org.zend.php.debug.debugger_5.2.10.v20070905 /
>> eclipse/plugins/org.zend.php.debug.debugger.linux.x86_64_5.2 .10.v20070905/
>>
>> eclipse/features/org.zend.php.debug_feature_5.2.10.v20070905 /
>>
>> 4. restart Eclipse
>>
>> Does that work? (FWIW, all the php I do is for the web, so I just use
>> apache for debugging. print and print_r() FTW.)
|
|
|
|
Powered by
FUDForum. Page generated in 0.05163 seconds