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 187990

Summary: Bound variable name is not properly shown in the Variables window
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173187    

Description Alexandr Scherbatiy 2010-06-23 10:20:16 UTC
JavaFX Composer FXJDI: #29

  Product Version         = NetBeans IDE Dev (Build 201006230001)
(#3385daea8705)
  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:
-------------------------------------
function run() {

    var a = 10;
    var b = 20;
    var c = bind a + 10;
    
    println(c);

} 
-------------------------------------

- Set a breakpoint to the 'println(c);' line
- Debug the project

- Go to the Variables window
Variables window shows Local$1$a, Local$1$b and Local$1$c variable names
Comment 1 Michal Skvor 2010-07-12 14:10:30 UTC
For this source:
function run() {

    var a = 10;
    var b = 20;
//    var c = bind a + 10;

    println(a);
} 

it works as it should however when I uncoment the c variable. I get no variables from fxjdi. 

Filed issue to jira.
http://javafx-jira.kenai.com/browse/JFXC-4482
Comment 2 Michal Skvor 2010-08-03 14:22:46 UTC
Waiting for fix in fxjdi.
Comment 3 David Strupl 2011-05-16 13:52:43 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.