View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000591 | Xdebug | public | 2010-07-02 18:48 | 2010-11-08 00:24 | |
| Reporter | zuvejywisicyfinu | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | not fixable | ||
| Product Version | 2.1.0 | ||||
| Summary | 0000591: short if/else syntax: does not break on all lines of code | ||||
| Description | Here are examples of code, try to debug both and you'll see that in the first case, the debugger does not break on all the lines being executed, so I cannot put a breakpoint, and I also cannot know which code was executed. | ||||
| Additional Information | ------------------------------BAD------------------------------ $a = true; if($a) echo $asdf; ?> ------------------------------OK------------------------------ $a = true; if($a) echo $asdf; ?> | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.3.2 | ||||
|
|
I know this happens, but there is very little I can do about this, as PHP's internals don't always add the correct hooks (or rather, on the correct lines) with the short syntax. With VLD we see this: compiled vars: !0 = $a, !1 = $asdf
|
|
|
How about reporting it to PHP developers? |
|
|
It's not a bug, so there is nothing to report. |