|
|
|
I made it [message #13351 is a reply to message #13327] |
Fri, 13 April 2007 18:21 |
Eclipse User |
|
|
|
Originally posted by: mkaatman.gmail.com
Thanks to Dave for helping me find the mysterious "forums" from the bug
report.
I got PDT setup with xdebug last night and working but I had to setup
php and apache locally.
It should be possible to set it up to use a remote server as long as
xdebug is setup properly correct?
The part that confuses me is that one of the dialog screens seemed to
force me to setup a php executable. Is this absolutely necessary for me
to run php locally?
Once I had it running I seemed to have some confusion between the PHP
Debug and Debug profiles and the base64 encoding but I'm happy to have
made some progress and will keep an eye on this project as it progresses.
Matt
|
|
|
Re: I made it [message #13393 is a reply to message #13351] |
Fri, 13 April 2007 20:04 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotnospmail.com
Glad to see you found the newsgroups.
To run a straight PHP script outside of a web browser you need to tell
PDT where to locate the version of PHP you wish to use. You can have
multiple versions of PHP registered to PDT so you can chose which
version you use to run a script.
Because of the way PDT currently works you have to create debug launches
specifically for XDebug, no easy way round this at the moment.
The base64 encoding issues crept in when patches were applied to the
original base code. You will not get base64 encoding issues if you use
PDT RC2 with Xdebug support v0.13 or PDT RC3 with XDebug v0.2.0
If you want to have a remote server, this is possible, but then you need
to use a path mapper. This translates the location of the script in your
workspace to that contained in the remote htdocs. This is required
because XDebug works with absolute filenames.
I provided a sample one v0.0.1 for use with XDebug v0.2.0.
Regards
Dave
Matt Kaatman wrote:
> Thanks to Dave for helping me find the mysterious "forums" from the bug
> report.
>
> I got PDT setup with xdebug last night and working but I had to setup
> php and apache locally.
>
> It should be possible to set it up to use a remote server as long as
> xdebug is setup properly correct?
>
> The part that confuses me is that one of the dialog screens seemed to
> force me to setup a php executable. Is this absolutely necessary for me
> to run php locally?
>
> Once I had it running I seemed to have some confusion between the PHP
> Debug and Debug profiles and the base64 encoding but I'm happy to have
> made some progress and will keep an eye on this project as it progresses.
>
> Matt
|
|
|
Re: Xdebug support for PDT 0.7 RC3 [message #14005 is a reply to message #13327] |
Sat, 14 April 2007 00:38 |
Eclipse User |
|
|
|
Originally posted by: maho.pagema.net
SK napisał(a):
> read the pdf document inside the zip file that contains the jar files.
> also check this link for the basics of getting stuff set up:
> http://www.starbowconsulting.com/blog/tao/setting-eclipse-pd t-and-xdebug
>
I saw this link before, at least I know about xdebug plugin from that
link :).
I read documentation, and there is only copying .jar files to plugins
directory. Problem is, that I can't activate the plugin. I don't see
plugin in help->software updates->manage configuration.
I had no problem with plugin from 0.1.3 and 0.1.4 - but they had
plugins/ and features/ ......
regards
maHo
|
|
|
Re: Xdebug support for PDT 0.7 RC3 [message #14015 is a reply to message #14005] |
Sat, 14 April 2007 10:19 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotnospmail.com
If you copied the 2 jar files into the plugins directory, then you have
done everything you need to do. You don't need to activate them.
V0.1.3 (with path mapper, not original 0.1.3) and 0.1.4 were patched
versions by another person who also created a feature. I don't provide a
feature for this as it is meant to be a patch for PDT.
Dave
maho wrote:
> SK napisał(a):
>> read the pdf document inside the zip file that contains the jar files.
>> also check this link for the basics of getting stuff set up:
>> http://www.starbowconsulting.com/blog/tao/setting-eclipse-pd t-and-xdebug
>>
>
> I saw this link before, at least I know about xdebug plugin from that
> link :).
>
> I read documentation, and there is only copying .jar files to plugins
> directory. Problem is, that I can't activate the plugin. I don't see
> plugin in help->software updates->manage configuration.
>
> I had no problem with plugin from 0.1.3 and 0.1.4 - but they had
> plugins/ and features/ ......
>
> regards
>
> maHo
|
|
|
Re: Xdebug support for PDT 0.7 RC3 [message #14077 is a reply to message #13216] |
Mon, 16 April 2007 15:59 |
Eclipse User |
|
|
|
Originally posted by: none.none.none
Dave Kelsey wrote:
> I have uploaded the next version (0.2.0) of XDebug support for PDT
> 0.7 RC3 onto Bugzilla.
Thanks Dave for your work. I was checking out Eclipse and PDT as PHP
editor and noted that a debugger was missing. Thanks to your XDebug
support and descriptive pdf I was up and running in no time. OK, not
immediately because the breakpoints weren't working, but after reading
your docs properly and letting Apache run directly on the workspace
folder that was fixed too.
Hopefully, your XDebug support gets integrated directly in PDT when
version 1.0 ships.
Jan Derk
|
|
|
Re: Xdebug support for PDT 0.7 RC3 [message #16562 is a reply to message #13216] |
Sat, 21 April 2007 12:07 |
Eclipse User |
|
|
|
Originally posted by: pvm.poczta.onet.pl
Dave Kelsey napisał(a):
> I have uploaded the next version (0.2.0) of XDebug support for PDT 0.7
> RC3 onto Bugzilla.
>
I downloaded Your plugins, installed them as i think i should (by
placing them in plugins dir).
My PDT: pdt-all-in-one-S20070401_RC3
I cant get it working right. Everytime i try to access
Preferences->PHP->Debug, i'm being informed that
org.eclipse.php.ui.phpPreferencePageBlocks extension point cant be created.
Eclipse log shows series of problems at this point, with the first one
saying:
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.php.xdebug.ui (338).
!STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.php.xdebug.ui.Activator for bundle org.eclipse.php.xdebug.ui
is invalid
Caused by: java.lang.UnsupportedClassVersionError:
org/eclipse/php/xdebug/ui/Activator (Unsupported major.minor version 49.0)
Any hint what could i do get it working ?
I guess there is somekind of version mismatch...
This far i used zend debug, but i would like to switch to Xdebug. I
really would...
|
|
|
|
Powered by
FUDForum. Page generated in 0.25858 seconds