View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001125 | Xdebug | Uncategorized | public | 2015-03-06 11:29 | 2017-02-07 17:11 |
Reporter | sSascha | Assigned To | derick | ||
Priority | urgent | Severity | block | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Apache Zend Server 8 | OS | OSX | OS Version | 10.10.2 |
Product Version | 2.3.1 | ||||
Summary | 0001125: XDEBUG not working with Zends Zray | ||||
Description | If you disable the Zend debugger and use Xdebug instead. What zend does with there debugger: They seem to disable zray for the debug session. So it could be a zend problem or a xdebug feature/workaround. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.4.10-5.4.14 | ||||
|
Is this still a problem for you? |
|
Hey Derick, this problem still exists. From Zend Server 8.5 and on XDebug comes bundled. If you enable Z-Ray in combination with XDebug and start a remote debug session it will always halt execution in zray.php first when using the break at first line logic. Due to Z-Ray, the break at first line logic will render unexpected debug behaviour. Disabling the break at first line functionality, and using normal breakpoints does work properly. |
|
If this is their auto_prepend file, or something similar through an extension, there is little I can do about this. The "break at first line" is functionality provided by an IDE - perhaps you can convince them to not stop at a first line if the file is zray.php? |
|
No it's an iframe that runs on the same domain. The question is: because it's an iframe should I see 2 debug calls or not? PHPStorm offers 'skip' Z-Ray functionality indeed for the Zend Debugger, just not for XDebug. |
|
Yes, you should see two calls. PhpStorm does support multiple simultaneous debugging connections, but you need to turn that on at Languages & Frameworks ? PHP ? Debug ? External Connections ? Max. simultaneous connections. If you increase that from 1 to something higher, you should get two debugging sessions. I would ask PhpStorm to also allow the "Ignore Z-Ray system requests" flag to work for Xdebug - they have an issue tracker at https://youtrack.jetbrains.com |
|
Thx jvandijk for stepping in. I'm currently far away from php more in .net and javascript. @derick: |
|
(Flipping this back to Feedback to allow @jvandijk to give feedback on the simultaneous connections setting in PhpStorm) |
|
|
|
I am closing this, as this does not seem to be a bug in Xdebug. Please feel free to reopen this if you can provide more information as requested. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-06 11:29 | sSascha | New Issue | |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2016-11-29 23:54 | derick | Note Added: 0003856 | |
2016-11-29 23:54 | derick | Assigned To | => derick |
2016-11-29 23:54 | derick | Status | new => feedback |
2016-12-19 11:33 | jvandijk | Note Added: 0004083 | |
2016-12-19 12:01 | derick | Note Added: 0004086 | |
2016-12-19 12:25 | jvandijk | Note Edited: 0004083 | |
2016-12-19 12:38 | jvandijk | Note Added: 0004088 | |
2016-12-19 12:44 | derick | Note Added: 0004089 | |
2016-12-19 12:44 | sSascha | Note Added: 0004090 | |
2016-12-19 12:44 | sSascha | Status | feedback => assigned |
2016-12-19 18:37 | derick | Note Added: 0004092 | |
2016-12-19 18:37 | derick | Status | assigned => feedback |
2017-01-10 14:22 | derick | Note Added: 0004169 | |
2017-02-07 17:11 | derick | Note Added: 0004203 | |
2017-02-07 17:11 | derick | Status | feedback => resolved |
2017-02-07 17:11 | derick | Resolution | open => no change required |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |