View Issue Details

IDProjectCategoryView StatusLast Update
0000869XdebugUncategorizedpublic2012-08-30 21:07
Reporterakger1379 Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
PlatformeasyPHP (WAMP)OSWinXPOS VersionSP3
Product Version2.2.1 
Summary0000869: Xdebug is ignoring breakpoints setup on the first line of multi line array definitions
Description

Xdebug always ignores my breakpoints when i set them directly on the first line of multi line array definitions. To be more clear:

// works as expected
$test = array('hello' => 'you'); // set breakpoint on this line

// xdebug ignores the breakpoint
$test = array( // set breakpoint on this line
'hello' => 'you'
);

TagsNo tags attached.
Operating System
PHP Version5.3.9

Activities

derick

2012-08-30 21:07

administrator   ~0002337

Sadly I can't fix this. PHP's parser doesn't always associate the correct line with statements. The DBGp protocol that Xdebug uses has functionality to find out which lines can be broken, but not all IDEs implement/use that.