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 - Breakpoint doesn't work for formatted Array
Summary: Breakpoint doesn't work for formatted Array
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P1 normal with 2 votes (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 17:59 UTC by monk.e.boy
Modified: 2012-10-16 09:59 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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