if I run my updated Eclipse Helios including PDT it will not show the options for the PHP perspective.
I run Eclipse under Windows 7 and Java 1.6.0_21. I tried to run the "-clean" option and already reinstalled PDT, but no success.
What could be the problem?
Thank you,
-lony
First, please check the Java build you are using. There's a reported issue with Windows 7 and Java 1.6.0_21 with builds prior to b07. See this message for more details and solutions.
If this is not the problem, look at the workspace log (Windows → Show View → Error Log) and see if there are any related errors. The errors could be related to the installation as well. If you find anything, add it to your question.
You might also want to download the prepackaged Eclipse PDT package from the eclipse.org site and see if it works OK on your machine.
Related
Hi i am using php eclipse neon 3 and tfs as source controller .
My problem is I cannot view the file difference in source control explorer change set. When I click on details getting this error
Please help
I tested at my side, everything works as expected.
Eclipse for PHP Developers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
Please check if you have the hsqldb.jar under
C:\eclipse\plugins\com.microsoft.tfs.core_14.123.1.201709051449\libs\hsqldb-1.8.0.10-ebcdic
If not just try to download from here and copy it there.
If that still not work, just try to uninstall then re-install the Eclipse and the TFS Plugin.
I use Visual Studio Code IDE on a Mac, and the MAMP stack to develop a website with PHP.
I want to debug the PHP.
I saw this post about debugging PHP with the visual studio code extension: php-debug.
I installed it in my visual studio code but I see that I need to download Xdebug for it to work.
I see on the Xdebug website that it has no download files for Mac OS X.
However, some PHPdebuggers for mac are Xdebug clients for mac. As shown here.
Does this mean that I can somehow download Xdebug for mac OS X so that my Visual Studio Code php-debug extension works?
If so how?
If not, what is my next best option? - Can I use Visual Studio Code IDE to develop with and a completely separate tool to debug PHP with? In that workflow, would I be just running the site in the browser and the third party tool stops on the breakpoints?
I downloaded codebug for mac, and opened my project in it, and put break points on the code, then ran my website locally. The code did not stop on the break points. What was I missing?
Thanks.
The route I took is upgrading to MAMP PRO. It may be possible to do it with MAMP (non-pro) if you do a bit more setup work for Xdebug.
Upgraded to MAMP PRO and adapted this tutorial for Visual Studio Code. In Visual Studio Code install php-debug, and in MAMP PRO under the PHP tab check the checkbox to debug with Xdebug. Then in Visual Studio Code in the debug view, click the gear icon and choose PHP. This creates a launch.json file. Save the file without changing any defaults, unless you know your xdebug is on a different port. Then just press the play button in the debugger in Visual Studio Code, enter in some breakpoints into the PHP code, and browse to the website. The debugger should stop the execution on the breakpoints.
So PHP 5.4 is released, but when will the interpreter come out for eclipse PDT to support the new syntax of PHP 5.4?
All I could find on the web so far is an old "Bug Report": https://bugs.eclipse.org/bugs/show_bug.cgi?id=362672. It seems like I can't even sign up there to post a question on its status.
Is somebody working on it? Is there dev version for it publicly available? How long does it typically take for them to release a new interpreter after a new PHP version comes out?
The PHP 5.4 syntax has been announced quite some time ago. How come its still not supported in Eclipse (I am not complaining, just want to know where it is hanging)?
Yep there is an interpreter for PHP 5.4 although its seems buggy, static function click throughs dont work on my mac eclipse install and on my windows eclipse install no function click throughs work.
Give it a try
In your eclipse go to
Preferences -> PHP -> PHPInterpreter Then select PHP version to PHP 5.4
If it is not available then you will need to update your PDT
help -> Check for updates
I commented on the bug report you mentioned the other day before i realised there is an interpreter so you can sign up and comment your self go to...
https://bugs.eclipse.org/bugs/
Seems to me the interpreter still needs some work though as would be nice to have better code assist with traits.
PDT versions >= 3.0.0 all support PHP 5.4, including trait support.
The current version, as of writing, is PDT 3.1.0, and 3.1.1 is available from the nightly developer builds update site:
http://download.eclipse.org/tools/pdt/updates/3.1.1/nightly
I am trying to configure Indigo so I can debug PHP in eclipse. I have looked at a ton of different tutorials and blogs online that try to explain it but none work so far. I am using Ubuntu 11.04 and I use a generic LAMP stack with PHP 5.3.3 executables configured in eclipse.
Does anyone have a good guide for installing Zend or XDebug in Eclipse Indigo?
Ok so this is something I posted a while back which took a while to figure out. I got it working in Helios but it has worked for me in Indigo also: Can I link the Zend PDT (eclipse) to a browser action?
I'm running eclipse PDT on a xubuntu 10.9 VM, using xdebug to remote debug PHP 5.3.
I have been having a number of issues over the last 6 months, things like:
Debugger stops responding to breakpoints after being dormant for 20+ minutes.
Debugger will exit suddenly with the fatal error "unexpected termination". Requires eclipse to be restarted to debug again.
Non fatal errors will pop up, I possibly think this is due to modifying code during execution.
Is this an issue that can be fixed by upgrading or switching to Zen? Its really frustrating compared to using PyDev or Java debuggers.
Is anyone else experiencing this same sort of issue?
With Eclipse, xdebug is sometimes a little unstable. Here, I use Zend Studio with Zend Debugger and xdebug. Everything works fine.
About breakpoints stops, I got a issue too. The only way to control this was use the Zend Toolbar to call debugger from Firefox/IE.
I know people that works fine with Netbeans + xdebug, too.
Try to download and install Zend Debugger and configure your Eclipse to work with it. Eclipse Helios has many improvements around it - try it if you use a older Eclipse version.