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 187883

Summary: Variables window does not show some variable values
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173187    
Attachments: IDE screenshot

Description Alexandr Scherbatiy 2010-06-21 10:41:58 UTC
JavaFX Composer FXJDI:  #26

  Product Version         = NetBeans IDE Dev (Build 201006210001) (#2ae8aa67006a)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.


Steps to reproduce:

- Copy the code to the editor:
--------------------------------------
var a = 10;
var b = a + 20;
var c = a * b;

println(c);
--------------------------------------

- Set a breakpoint to the last line
- Debug the project

The 'b' and 'c' variable have '0' value in the Variables window
Comment 1 Alexandr Scherbatiy 2010-06-21 10:46:48 UTC
Created attachment 100274 [details]
IDE screenshot
Comment 2 Alexandr Scherbatiy 2010-06-23 08:11:34 UTC
One more steps:
- Copy the code to the editor:
----------------------------------
var a = 10;
var b = a + 10;
var c = b + 40;
----------------------------------

- Set a breakpoint for the 'b' variable declaration (second line)
- Debug the project
The Variables window does not show variables a, b and c
Comment 3 Michal Skvor 2010-07-07 14:39:11 UTC
Works fine.
Comment 4 Alexandr Scherbatiy 2010-07-08 13:53:43 UTC
verified in JavaFX Composer FXJDI Build #49 (Jul 8, 2010 7:48:33 AM)