View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000250 | Xdebug | Uncategorized | public | 2007-04-02 09:15 | 2007-04-03 15:47 |
| Reporter | mathieuk | Assigned To | derick | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Summary | 0000250: XDebug 2.0RC3 doesn't report error conditions | ||||
| Description | XDebug 2.0RC3 doesn't report any errors when an error occurs. Consider the following script: $test = "test"; ?> This should raise an undefined function error. Configuration:No special configuration options set. Expected behaviour:When running the above script through debugclient-0.9.0, after issueing the 'run' command, xdebug should reply with a <response> element indicating a problem (status=aborted?). It probably needs a <error> element aswell, containing the error message. Actual behaviour:The script runs and when it runs into the error, xdebug reports the script now has the 'stopped' state with 'reason=ok': debugclient-0.9.0 transcript:Connect | ||||
| Additional Information | (FYI, the PHP version select in Mantis' Report Bug form doesn't have 5.2.1 as an option yet.) | ||||
| Tags | No tags attached. | ||||
| Operating System | Tested on Windows & Linux | ||||
| PHP Version | 5.2.0 | ||||
|
|
Same issue occurs with xdebug-cvs: Transcript: mathieu@ubuntu:~$ ./debugclient-0.9.0
Waiting for debug server to connect. |
|
|
This is not a bug. In order for the debugger to stop on error or warning conditions, you need to set a breakpoint on them. You can do that with: breakpoint_set -i 71 -t exception -x "Fatal error" |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-04-02 09:15 | mathieuk | New Issue | |
| 2007-04-03 09:05 | mathieuk | Note Added: 0000583 | |
| 2007-04-03 15:47 | derick | Status | new => resolved |
| 2007-04-03 15:47 | derick | Resolution | open => no change required |
| 2007-04-03 15:47 | derick | Assigned To | => derick |
| 2007-04-03 15:47 | derick | Note Added: 0000584 | |
| 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) |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |