Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Informative: Debugger hangs, breaks server (XDebug, PDT 3.5?)
Informative: Debugger hangs, breaks server (XDebug, PDT 3.5?) [message #1700603] Sat, 04 July 2015 19:24 Go to next message
Eclipse UserFriend
THIS TOPIC IS SUPERCEDED BY https://www.eclipse.org/forums/index.php/t/1068151/

I had [in retrospect, small] debugging issues with Luna and decided to upgrade to Mars. I upgraded both Eclipse from 3.4 and PDT to 3.5. Just after, the debugger had severe breakage. It would go away, and apparently only come back after restarting Windows.

I then tried upgrading the WAMP stack (Apache 2.4.4 to 2.4.9, PHP 5.4.12 to 5.5.12, XDebug 2.2.3 to 2.2.5), and this seemed to solve the problem. But after a few days, it seems it just came back.

This was very frustrating, since online searches are difficult, but at least, after letting enough time, the affected project is again usable, and I got an error message when trying to debug again. It is surely not specific, but here it is:
Quote:
The debug port 9000 is in use. Please select a different port for the debugger.


The UI's message is a bit different, this is actually from an exception which is generated when that error shows.

Since I have never seen that behavior with 3.4, a PDT 3.5 bug seems likely, but since it seems this doesn't affect that many people, I am just posting for information and will attempt to caracterize the issue better before going further.
------
STATUS
------
pluginId org.eclipse.php.debug.core
pluginVersion 3.5.0.201506101710
code 4
severity 4
message The debug port 9000 is in use. Please select a different port for the debugger.
fingerprint f5dbb25f

Exception:org.eclipse.epp.internal.logging.aeri.ui.log.StandInStacktraceProvider$StandInException: Stand-In Stacktrace supplied by the Eclipse Error Reporting
at org.eclipse.php.internal.debug.core.Logger._log(Logger.java:78)
at org.eclipse.php.internal.debug.core.Logger.log(Logger.java:136)
at org.eclipse.php.internal.debug.core.daemon.AbstractDebuggerCommunicationDaemon.handleMultipleBindingError(AbstractDebuggerCommunicationDaemon.java:143)
at org.eclipse.php.internal.debug.core.daemon.AbstractDebuggerCommunicationDaemon.resetSocket(AbstractDebuggerCommunicationDaemon.java:126)
at org.eclipse.php.internal.debug.core.xdebug.communication.XDebugCommunicationDaemon.resetSocket(XDebugCommunicationDaemon.java:398)
at org.eclipse.php.internal.debug.daemon.DaemonPlugin.validateCommunicationDaemons(DaemonPlugin.java:186)
at org.eclipse.php.internal.debug.core.launching.PHPLaunchUtilities.isDebugDaemonActive(PHPLaunchUtilities.java:1344)
at org.eclipse.php.internal.debug.core.launching.XDebugWebLaunchConfigurationDelegate.launch(XDebugWebLaunchConfigurationDelegate.java:154)
at org.eclipse.php.internal.debug.core.launching.PHPLaunchDelegateProxy.launch(PHPLaunchDelegateProxy.java:126)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

------
REPORT
------
anonymousId a2e86edb-99b2-4ce2-87b9-8b1ac00206b6
name Filipus Klutiero
email chealer@gmail.com
comment
eclipseBuildId 4.5.0.I20150603-2000
eclipseProduct org.eclipse.epp.package.php.product
javaRuntimeVersion 1.8.0_31-b13
osgiWs win32
osgiOs Windows8
osgiOsVersion 6.2.0
osgiArch x86
logMessage false
ignoreSimilar false

-------
BUNDLES
-------
name org.eclipse.core.jobs
version 3.7.0.v20150330-2103

name org.eclipse.debug.core
version 3.10.0.v20150303-1130

name org.eclipse.debug.ui
version 3.11.0.v20150514-0917

name org.eclipse.php.debug.core
version 3.5.0.201506101710

name org.eclipse.php.debug.daemon
version 3.5.0.201506101710

[Updated on: Wed, 09 September 2015 20:16] by Moderator

Report message to a moderator

Re: Informative: Debugger hangs, breaks server (XDebug, PDT 3.5?) [message #1700721 is a reply to message #1700603] Mon, 06 July 2015 15:59 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
This might be a conflict with one of your windows application (for example windows server sometime take it). Can you change debugger port?

This has to be done on both xdebug and eclipse, for example use port 1009:
1. Add xdebug.remote_port=1009 to php.ini and restart wamp
2. Set this port under Eclipse -> Preferences -> PHP -> Debug -> Debuggers -> XDebug

You might be also blocked by windows firewall.


Re: Informative: Debugger hangs, breaks server (XDebug, PDT 3.5?) [message #1700740 is a reply to message #1700721] Mon, 06 July 2015 18:06 Go to previous message
Eclipse UserFriend
Thank you Dawid.

I have informally reported the actual bug (or set of bugs) in https://www.eclipse.org/forums/index.php/t/1068151/
Apologies for the early warning; feel free to delete this topic.

[Updated on: Wed, 09 September 2015 20:17] by Moderator

Report message to a moderator

Previous Topic:open declaration
Next Topic:How to Set UTF-8 as the Default Encoding for New Text Files in PDT 2.0 (Eclipse 3.4)?
Goto Forum:
  


Current Time: Sat Oct 05 10:38:56 GMT 2024

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

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

Back to the top