Zend Debugger Eclipse Startup Error: eclipse.php.d

2019-07-21 17:14发布

I work on Mac OSX Lion and ever since I've installed the Zend Debugger and gotten it to be able to debug php web applications, I often encounter this Eclipse startup error:

Error creation extension for extension-point org.eclipse.php.internal.debug.daemon.communication Plug-in org.eclipse.php.debug.core was unable to load class org.eclipse.php.internal.debug.core.zend.communication.DebuggerCommunicationDaemon. An error occurred while automatically activating bundle org.eclipse.php.debug.core (258).

The error log contains the following stack trace:

org.eclipse.debug.core.DebugException: Plug-in org.eclipse.php.debug.core was unable to load class org.eclipse.php.internal.debug.core.model.PHPConditionalBreakpoint.  
at org.eclipse.debug.internal.core.BreakpointManager.createBreakpoint(BreakpointManager.java:554
at org.eclipse.debug.internal.core.BreakpointManager.loadBreakpoints(BreakpointManager.java:264
at org.eclipse.debug.internal.core.BreakpointManager.initializeBreakpoints(BreakpointManager.java:449)  
at org.eclipse.debug.internal.core.BreakpointManager.getBreakpoints0(BreakpointManager.java:418)    at org.eclipse.debug.internal.core.BreakpointManager.start(BreakpointManager.java:408)  
at org.eclipse.debug.core.DebugPlugin.start(DebugPlugin.java:682)   
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
... Omitted for brevity ...

This error often goes away when I just restart eclipse a few times. I've googled for solutions and tried reinstalling eclipse a couple of times. This error only seems to occur if I have both ADT (Android Development Tools) and PDT (PHP Development Tools) + Zend Debugger installed.

Please let me know if you have information about how to solve this problem. On a related note, I never really got the PDT + Zend debugger to work (as in debug) PHP apps on Windows.

7条回答
走好不送
2楼-- · 2019-07-21 17:55

I am using Eclipse Indigo on Ubuntu 12.04 and I received this error after installing Java 7. My PDT settings which used to work stop working. My solution was to uninstall PDT and reinstall it. I am not sure if this is relevant to your question but it might solve the issue.

Help -> About eclipse platform

click "Installation details" button

click php development tools (PDT) sdk feature

click uninstall

follow prompts

reinstall pdt in the normal way

My previous debug launches were deleted but my old project was left untouched. I re-ran a debug from Run -> Debug Configurations.

查看更多
登录 后发表回答