View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000790 | Xdebug | public | 2012-03-06 15:33 | 2012-03-12 16:15 | |
| Reporter | alexhofbauer | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Debian/unstable | OS | Linux | OS Version | 3.2 |
| Product Version | 2.2dev | ||||
| Summary | 0000790: Debugging broken with PHP 5.4: Unexpected termination of script, debugging ended | ||||
| Description | Xdebug doesn't work anymore since Debian/unstable migrated to PHP 5.4. I tried the recent master branch in git, Eclipse errors with a message box saying "Unexpected termination of script, debugging ended.". With 5.3 and a stable version of XDebug I could debug in the otherwise identical setup. Compiling Xdebug with PHP 5.4 works fine though. | ||||
| Additional Information | $ ./eclipse-php -consoleLog -debug !ENTRY org.eclipse.php.debug.core 4 4 2012-01-29 16:15:37.452 !ENTRY org.eclipse.php.debug.core 4 4 2012-01-29 16:15:37.851 !ENTRY org.eclipse.php.debug.core 4 150 2012-01-29 16:15:37.859 !ENTRY org.eclipse.php.debug.core 4 4 2012-01-29 16:15:37.863 | ||||
| Tags | No tags attached. | ||||
| Operating System | Debian GNU/Linux | ||||
| PHP Version | 5.4-dev | ||||
|
|
Where did you get the Xdebug binary from in this case? Can you reproduce this by using Xdebug from github? |
|
|
The binary was compiled in the same environment it is being tested in. I am using Xdebug from github (commit 07405) here, that's what I meant by "the recent master branch in git". PHP 5.4 and all the packages related to it are from the unstable distribution of Debian. |
|
|
Okay, I need some more info:
cheers, |
|
|
ad 1: Right after hitting the breakpoint. ad 2: Please see the attachment above. ad 3: It's "echo 'here';" executed in a shell by ad 4: Nothing, the page executes normally (but I'm not sure what should I look for). ad 5: Yes, that's what I did for the log provided above. ad 6: I'll try to provide a backtrace (can't setup that right now). PHP itself is not crashing here though. |
|
|
Forget about the backtrace, I think I see the problem :-) |
|
|
Fixed on github. |