View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001361||Xdebug||Step Debugging||public||2016-11-15 19:20||2017-01-03 18:57|
|Status||resolved||Resolution||no change required|
|Platform||Windows||OS||Windows||OS Version||10 Home|
|Summary||0001361: Fails to connect with same settings that work fine with 2.4|
Attempts to debug any PHP script using Xdebug connected through Netbeans fails. It appears to hang at "Waiting for a Connection". After verifying all settings and doing the usual network-related troubleshooting, I compared my PHP.INI file on this machine with one an another where XDebug was working. The most significant difference was the version of XDebug which lead to my identifying the problem to be version specific.
|Steps To Reproduce|
Download and copy extension to PHP\EXT folder (Windows).
As a test I installed the version that was working on the other machine onto this one, updated PHP.ini, restarted Apache and Netbeans, and everything worked.
Version that isn't connectiong:
Version that is working:
A few lines from the debug log showing the connection with the 2.4x version that works:
Log opened at 2016-11-15 18:57:27
<- feature_set -i 0 -n show_hidden -v 1
<- feature_set -i 1 -n max_depth -v 3
The entirety of the output when it fails (with 2.5xxRC version):
Log opened at 2016-11-15 18:55:29
Log opened at 2016-11-15 18:55:29
|Tags||No tags attached.|
|Operating System||Windows 10 Home 64 bit|
Similar problem. NetBeans will not connect with
Revert to php_xdebug-2.4.1-7.0-vc14 making no other changes then connection is made and all is well
Hi, I am the author of https://github.com/felixfbecker/vscode-php-debug.
Log opened at 2016-11-16 20:46:04
Everyone who reported this said everything was working fine once they downgraded to 2.4. The problem I see is that while 2.5.0 is only RC, it is still recommended by the wizard and "stable" on PECL.
If I don't mark it as stable, then nobody tests it ;-)
There seems to be an issue with socket connections on Windows, I will have to check what causes this. The network code in 2.5.x has been redone, so that's likely to cause the problem here.
This is likely to be the same issue as 0001366.
itchickatl, can you try the php_xdebug-master-5.6-vc11.dll DLL from https://xdebug.org/files/xdebug-vc11-latest.tgz
Jim Bacon, can you try php_xdebug-master-7.0-vc14.dll from https://xdebug.org/files/xdebug-vc14-latest.tgz
If this works, then I will create another RC (RC2), which should have this fixed.
Not tested exhaustively but worked immediately, effortlessly and beautifully. Thank you.
Thanks for letting me know. I'm closing this out.
|2016-11-15 19:20||itchickatl69||New Issue|
|2016-11-17 10:03||Jim Bacon||Note Added: 0003758|
|2016-11-21 16:31||felixfbecker||Note Added: 0003771|
|2016-11-22 11:36||derick||Note Added: 0003772|
|2016-11-22 11:36||derick||Assigned To||=> derick|
|2016-11-22 11:36||derick||Status||new => acknowledged|
|2016-11-22 23:26||derick||Note Added: 0003776|
|2016-12-02 11:35||derick||Status||acknowledged => confirmed|
|2016-12-02 11:49||derick||Note Added: 0003867|
|2016-12-02 11:49||derick||Status||confirmed => feedback|
|2016-12-12 18:12||Jim Bacon||Note Added: 0004038|
|2017-01-03 18:57||derick||Note Added: 0004142|
|2017-01-03 18:57||derick||Status||feedback => resolved|
|2017-01-03 18:57||derick||Resolution||open => no change required|
|2020-03-12 16:33||derick||Category||Remote Debugging => Step Debugging|