Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Xdebug support for PDT 0.7 RC3
Xdebug support for PDT 0.7 RC3 [message #13216] Thu, 12 April 2007 11:06 Go to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
I have uploaded the next version (0.2.0) of XDebug support for PDT 0.7 RC3 onto Bugzilla.

It can be found at https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408

The following has been included

1. Supports XDebug 2.0.0 RC3 only
2. Supports PDT 0.7 RC3 only
3. Resources are now defined as resources, not strings
4. Honour the encoding information rather than assume it (ie Strings and resources will be decoded as appropriate)
5. Addressed XML change in Java 6, so Java 6 should now work
6. Expose all super globals provided by XDebug (which now includes _SESSION)
7. Provided extension point for path mapper writers
8. provided sample path mapper (version 0.0.1)

Dave Kelsey
Re: Xdebug support for PDT 0.7 RC3 [message #13272 is a reply to message #13216] Fri, 13 April 2007 13:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: maho.pagema.net

Dave Kelsey napisał(a):
> I have uploaded the next version (0.2.0) of XDebug support for PDT 0.7
> RC3 onto Bugzilla.
>
> It can be found at https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408
>
How to install it? I see that there are only .jar files which should be
copied to plugins/ , bot what with features/ ?

regards

maHo
Re: Xdebug support for PDT 0.7 RC3 [message #13327 is a reply to message #13272] Fri, 13 April 2007 14:36 Go to previous messageGo to next message
SK is currently offline SKFriend
Messages: 4
Registered: July 2009
Junior Member
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 made it [message #13351 is a reply to message #13327] Fri, 13 April 2007 18:21 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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...
Re: Xdebug support for PDT 0.7 RC3 [message #16637 is a reply to message #16562] Mon, 23 April 2007 09:38 Go to previous message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
I think the problem is I have built the latest version of the plug-ins using
Java 5 and you are trying to use java 1.4.2 or earlier.

If so, moving to Java 5 would solve the problem.

Dave Kelsey

Piotr wrote:
> 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...
Previous Topic:[Semi-OT] Is it possible to select all text between braces?
Next Topic:Enforce default encoding - how to do it?
Goto Forum:
  


Current Time: Fri Mar 29 15:18:59 GMT 2024

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

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

Back to the top