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 171040 - Cannot debug more than 31 items at the second level in a Multi-Dimensional array.
Summary: Cannot debug more than 31 items at the second level in a Multi-Dimensional ar...
Status: RESOLVED DUPLICATE of bug 180999
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 01:30 UTC by johnbc
Modified: 2010-02-22 08:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnbc 2009-08-28 01:30:52 UTC
How reproducible? = Everytime.

Development System used:
Use the following code in updated 6.7.1 on Ubuntu 9.04 (2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009
x86_64 GNU/Linux)

Web Server Used:
LAMP - Fedora Core 8 (Updated) with xdebug

Step 1:
Place the following code in a PHP file on script.
<?php
$newArray[] =
    array(
    _01=> "2",
    _02=> "2",
    _03=> "2",
    _04=> "2",
    _05=> "2",
    _06=> "2",
    _07=> "2",
    _08=> "2",
    _09=> "2",
    _10=> "2",
    _11=> "2",
    _12=> "2",
    _13=> "2",
    _14=> "2",
    _15=> "2",
    _16=> "2",
    _17=> "2",
    _18=> "2",
    _19=> "2",
    _20=> "2",
    _21=> "2",
    _22=> "2",
    _23=> "2",
    _24=> "2",
    _25=> "2",
    _26=> "2",
    _27=> "2",
    _28=> "2",
    _29=> "2",
    _30=> "2",
    _31=> "2",
    _32 => "2");
$newArray[0]['dist'] = '55';
print_r($newArray);
?>

Step 2:
Start the stepping debugger or put a breakpoint anywhere in the script.

The last two items of the multi-dimensional array (E.G.; _32 => "2" AND 'dist' => 55) will never show up in the
Variables window nor the Watch Window.

Note; placed "print_r($newArray);" at the end to prove that the array did in fact contain the two items that do not show
up in the debug variables window.
Comment 1 johnbc 2009-08-28 01:55:57 UTC
Just verified same issue in Windows Business 64 and Netbeans version 6.7.1 (fully updated)
Comment 2 johnbc 2009-08-28 16:37:14 UTC
Issue verified with Xdebug version 2.0.3 and xdebug 2.0.5
Comment 3 rmatous 2010-02-22 08:25:22 UTC
Fixed by fixing:
https://netbeans.org/bugzilla/show_bug.cgi?id=180999

So, marked as duplicate of #180999

*** This bug has been marked as a duplicate of bug 180999 ***