View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001366 | Xdebug | Step Debugging | public | 2016-11-18 23:41 | 2016-12-04 18:33 |
Reporter | tomzx | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | Windows | OS Version | 7 x64 |
Product Version | 2.5.0RC1 | ||||
Fixed in Version | 2.5.0 | ||||
Summary | 0001366: Cannot start a debugging session on Windows | ||||
Description | PHP 7.1.0RC6 with xdebug 2.5.0rc1 under PHPStorm 10 and 2016.3. In PHPStorm, when starting a debugging session, a message "Connection with 'xdebug 2.5.0rc1' was not established" is first displayed with a link to "Validate the installation". Upon validating the installation, the message "Debug extension settings was updated. Please re-run current configuration to use new values." is displayed. Doing so results in the same issue (namely xdebug is never triggered). If I switch to my setup where I use PHP 7.0.12 and xdebug 2.4.1, everything works fine. I've then attempted to use xdebug 2.5.0rc1 with 7.0.12, and at this point it does not work anymore. If I run php 7.0.12 from the command line, I get an error saying "The procedure entry point zend_pass_function could not be located in the dynamic link library php7ts.dll". Then PHP prints out "Failed loading (PATH TO XDEBUG DLL). Interestingly enough, if I set xdebug.default_enable=1 under PHP 7.1.0RC6 with xdebug 2.5.0rc1, then I can see the traces being displayed in the output, which leads me to believe that the extension work semi-properly, except that the remote debugging is more likely the cause issue. | ||||
Steps To Reproduce |
| ||||
Additional Information | It might appear to be potentially related with https://bugs.xdebug.org/view.php?id=1361. | ||||
Tags | No tags attached. | ||||
Operating System | Windows 7 x64 | ||||
PHP Version | 7.1-dev | ||||
|
I downloaded Netbeans 8.2 and reproduced the issue mentioned in the additional information section. Thus, I'd say that those two issues present the same symptoms of the same underlying cause. Also similar log messages |
|
If you try to make a debug log as is done in The error you described with:
Is because you load an Xdebug version that is compiled for PHP 7.1, with PHP cheers, |
|
I do not get anything else than what was described in note #3766 (so WSAPoll: 0). I've tried disabling all extensions and the problem still persist. I've also rebooted in order to make sure something else wasn't interfering. |
|
Can you please provide the output of the log @tomxz? I'd like to see it all, instead of just your summary. |
|
Sorry, never mind that question. |
|
tomzx, can you try the right DLL from https://xdebug.org/files/xdebug-vc14-latest.tgz, that is likely php_xdebug-master-7.0-vc14-x86_64.dll, but use your judgement If this works, then I will create another RC (RC2), which should have this fixed. |
|
@derick, xdebug appears to attach correctly now under PHP 7.0.13. However, when I hit a breakpoint, it crashes under PHP 7.1.0. The crash is 100% reproducible. However, it is also possible to have xdebug work correctly for other "simpler" scripts. Could you provide me with the .pdb file for php_xdebug-master-7.1-vc14-x86_64.dll (or all of the .dll .pdb) so that I may give you a better callstack? Otherwise, I've uploaded https://fkcd.ca/iTb/php-xdebug.dmp which is the dump file I generated when it crashed. Would you prefer I create a new issue as it does not appear to be related to attaching xdebug to an IDE anymore? Let me know if you need anything else. -----Exception----- ht was 0x1. If there is a handler for this exception, the program may be safely continued. -----Code line----- -----Callstack-----
|
|
tomzx - please do not use a bug report for other issues than the originally reported one. In this case, this was also reported as https://bugs.xdebug.org/view.php?id=1373, and which I fixed earlier today. I have not yet rebuilt the Windows DLLs. I will close this issue, as you've confirmed Xdebug correctly attaches now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-18 23:41 | tomzx | New Issue | |
2016-11-19 20:32 | tomzx | Note Added: 0003766 | |
2016-11-22 23:26 | derick | Note Added: 0003775 | |
2016-11-22 23:26 | derick | Assigned To | => derick |
2016-11-22 23:26 | derick | Status | new => feedback |
2016-11-23 00:27 | tomzx | Note Added: 0003782 | |
2016-11-23 00:27 | tomzx | Status | feedback => assigned |
2016-11-23 21:17 | derick | Note Added: 0003787 | |
2016-11-23 21:17 | derick | Status | assigned => feedback |
2016-11-23 21:33 | derick | Note Added: 0003789 | |
2016-11-23 21:33 | derick | Status | feedback => assigned |
2016-12-02 11:35 | derick | Status | assigned => confirmed |
2016-12-02 11:52 | derick | Note Added: 0003868 | |
2016-12-02 11:52 | derick | Status | confirmed => feedback |
2016-12-02 18:03 | tomzx | Note Added: 0003872 | |
2016-12-02 18:03 | tomzx | Status | feedback => assigned |
2016-12-02 18:15 | tomzx | Note Edited: 0003872 | |
2016-12-02 18:21 | tomzx | Note Edited: 0003872 | |
2016-12-02 18:21 | tomzx | Note Edited: 0003872 | |
2016-12-02 23:18 | derick | Note Added: 0003873 | |
2016-12-02 23:18 | derick | Status | assigned => closed |
2016-12-02 23:18 | derick | Resolution | open => fixed |
2016-12-02 23:18 | derick | Fixed in Version | => 2.5.0RC2 |
2016-12-04 17:41 | derick | Summary | Cannot start a debugging session => Cannot start a debugging session on Windows |
2016-12-04 18:33 | derick | Fixed in Version | 2.5.0RC2 => 2.5.0 |
2020-03-12 16:33 | derick | Category | Remote Debugging => Step Debugging |