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.
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
Created attachment 151465 [details] IDE log
As you can see on the screenshot, the editor shows the right value while the Variable window does not.
Created attachment 151466 [details] Screenshot
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
Rudolfe, how often are you able to reproduce this error? And would you mind sharing your project with us? Privately of course.
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.
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.