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 4895 - Watches are not updated after creating a new object for a field of some class. (Build444)
Summary: Watches are not updated after creating a new object for a field of some class...
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-08 20:53 UTC by Daniel Prusa
Modified: 2003-07-02 16:00 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 Daniel Prusa 1999-12-08 20:53:06 UTC
For example, consider the following piece of code:

String [] strings = new String [10];
  for (int x=0; x<10; x++)
    strings[x] = new String ("aaa");

Trace through the loop two times (i.e., two Strings are created). Add watch `strings`. Expand it.
Two subitems are expandable now.
Continue with tracing through the loop - new Strings are created, but they does not appear in the tree.
There are still only two expandable subitems.

It means - update is done only first time after expanding of a watch.
The problem occurs only when a new object is created for a field with the value null.
Comment 1 Marek Grummich 2000-07-25 09:23:59 UTC
Priority is changed to P4 (normal).
Comment 2 Jan Stola 2001-03-15 15:31:51 UTC
Verified in Forte 2.0 (build 1160).
Comment 3 Quality Engineering 2003-07-02 16:00:32 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.