This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 203744

Summary: Breakpoint doesn't work for formatted Array
Product: php Reporter: monk.e.boy
Component: DebuggerAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P1    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description monk.e.boy 2011-10-14 17:59:46 UTC
for the following array (please note the formatting that the source code has):

1: $tmp = array(
2:     1 => 1,
3:     2 => 2,
4:     3 => 3
5: );

Placing a breakpoint on line 1: does nothing, it does not trigger.
Placing a breakpoint on line 2 WORKS
NONE of the other lines will break (lines 3, 4, or 5)

Following the alternative array formatting (Associative Arrays):

http://framework.zend.com/manual/en/coding-standard.coding-style.html