View Issue Details

IDProjectCategoryView StatusLast Update
0000217XdebugUncategorizedpublic2006-10-30 14:52
Reporterbhofmann Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
Summary0000217: stepping through code sometimes gives a wrong execution line
Description

When 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

Activities

derick

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.