View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000989 | Xdebug | Uncategorized | public | 2013-10-22 13:41 | 2016-11-28 23:37 |
| Reporter | szoper | Assigned To | |||
| Priority | urgent | Severity | block | Reproducibility | always |
| Status | resolved | Resolution | unable to reproduce | ||
| Product Version | 2.2.3 | ||||
| Summary | 0000989: Tracing does not work with PHP 5.5.5 | ||||
| Description | I've been using Xdebug for several months, starting with PHP 5.4 and now with 5.5. Debugging has been working all the time, but recently I wanted to trace an app for the first time. I've followed a few different tutorials found online and all their instructions, but as far as I know it all comes down to one line: I can see from phpinfo() output that this option is On, but no trace file is generated. I've tried different values combination for: auto_trace, trace_enable_trigger and trace_output_dir, but to no avail. I've tried the same thing on other system with PHP 5.3.6 and it worked with only auto_trace=1. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | Output of phpinfo(): http://pastebin.com/79dpzjB4 (link valid until October 29th). | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.5.5-5.5.9 | ||||
|
|
The trace files are generated for me using PHP 5.5.3 and the latest XDebug. |
|
|
Could you check PHP 5.5.5? :-) |
|
|
I have exactly the same problem. Would love to see a fix for this. |
|
|
This works just fine for me: derick@whisky:~/dev/php/xdebug-xdebug $ rm -rf /tmp/trace.log.xt [GIT: master][PHP: 5.5.5 ] [GIT: master][PHP: 5.5.5 ] I can't see your pastebin anymore, please attach a file with it to this report. However, I don't think there is a real problem here as all the tests I have for Xdebug pass as well. |
|
|
Ok, so we're making progress. :) Seems like your CLI example works after resetting my xdebug settings, though I'm pretty sure I've already tried that. I do get trace file for CLI "sqrt()" example. |
|
|
I've also attached my phpinfo() output. and can confirm that I have exactly the same issue as szoper, auto_trace does not seem to create log files in the specified directory(which has full writing permissions) for websites served by Apache. |
|
|
Is this still a problem for you? |
|
|
Nope, I haven't used Xdebug for tracing since then. |
|
|
Okay. I'll close this then. Please open a new issue if you run into any problems with Xdebug again. |