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 249759 - The Variables window does not show the current values of some fields
Summary: The Variables window does not show the current values of some fields
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-12 16:06 UTC by rudyment
Modified: 2015-03-19 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (60.67 KB, text/plain)
2015-01-12 16:06 UTC, rudyment
Details
Screenshot (121.95 KB, image/png)
2015-01-12 16:13 UTC, rudyment
Details
Differences in Variables window (6.43 KB, image/png)
2015-01-13 16:53 UTC, rudyment
Details
Project where the behavior appeared (301.84 KB, application/octet-stream)
2015-02-11 18:55 UTC, rudyment
Details
Screenshot of different values in Variables view and variable's tooltip. (173.15 KB, image/png)
2015-03-19 14:49 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rudyment 2015-01-12 16:06:16 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02

While debugging the Variable window sometimes shows ancient values of certain local variables and fields.
I will attach a screenshot
Comment 1 rudyment 2015-01-12 16:06:22 UTC
Created attachment 151465 [details]
IDE log
Comment 2 rudyment 2015-01-12 16:13:34 UTC
As you can see on the screenshot, the editor shows the right value while the Variable window does not.
Comment 3 rudyment 2015-01-12 16:13:39 UTC
Created attachment 151466 [details]
Screenshot
Comment 4 rudyment 2015-01-13 16:53:26 UTC
Created attachment 151489 [details]
Differences in Variables window

When I point to the variable, it sometimes shows another value than the one shown in the String value column
Comment 5 Jiri Kovalsky 2015-02-11 15:12:31 UTC
Rudolfe, how often are you able to reproduce this error? And would you mind sharing your project with us? Privately of course.
Comment 6 rudyment 2015-02-11 18:55:32 UTC
Created attachment 151959 [details]
Project where the behavior appeared

I discovered this behavior when I did not believe to the computer, that the values are not the shown ones.
I do not know, how often it happened without mention.

The project, where it appeared, is a demo project for my students and therefore it is no problem with sending it.
There are two projects in the attachment:
1. The project @E_Manhattan is the one, where it appeared.
2. The project @L_CanvasManager serves as a library for the first one.
Comment 7 Jiri Kovalsky 2015-03-19 14:49:32 UTC
Created attachment 152725 [details]
Screenshot of different values in Variables view and variable's tooltip.

Product Version: NetBeans IDE Dev (Build 1)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

I have reproduced this - see attached screenshot. Strangely, the tooltip of the very same "vehicle" variable in Editor contained the correct values.