View Issue Details

IDProjectCategoryView StatusLast Update
0000869XdebugUncategorizedpublic2012-08-30 21:07
Reporterakger1379 Assigned Toderick  
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.

Issue History

Date Modified Username Field Change
2012-07-22 13:33 akger1379 New Issue
2012-08-30 21:07 derick Note Added: 0002337
2012-08-30 21:07 derick Status new => resolved
2012-08-30 21:07 derick Resolution open => not fixable
2012-08-30 21:07 derick Assigned To => derick
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