View Issue Details

IDProjectCategoryView StatusLast Update
0000217XdebugUncategorizedpublic2006-10-30 14:52
Reporterbhofmann Assigned Toderick  
Status resolvedResolutionnot fixable 
Summary0000217: stepping through code sometimes gives a wrong execution line
DescriptionWhen stepping trough this kind of code using step over:

if ($var){
    $test = "azerty";

Xdebug stops at the "if", then the test line: this is ok. However with this code:

if ($var)
    $test = "azerty";

Xdebugs skips the "if" but steps on the opening curly brace, then steps on the test line. And finally with this:

if ($var)
    $test = "azerty";

the "if" line is skipped and Xdebug step directly to the test line.
TagsNo tags attached.
Operating System
PHP Version5.1.6



2006-10-30 14:52

administrator   ~0000487

This is something I can not fix unfortunately as the Zend Engine does not always put the interception points on the correct line.

Issue History

Date Modified Username Field Change
2006-10-30 14:41 bhofmann New Issue
2006-10-30 14:52 derick Status new => resolved
2006-10-30 14:52 derick Resolution open => not fixable
2006-10-30 14:52 derick Assigned To => derick
2006-10-30 14:52 derick Note Added: 0000487
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