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 172456

Summary: Variables window does not show some JavaFX types
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173187    

Description Alexandr Scherbatiy 2009-09-17 11:33:32 UTC
netbeans-trunk-nightly-200909151512-javafx-full.zip 

  Product Version         = NetBeans IDE Dev (Build 200909151512) (#ebf350cbb86b)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.


Steps to reproduce:

- Type in the editor:
--------------------------------
var f:function(x:Number):Number;
--------------------------------
- Set a breakpoint for the 'f' variable
- Debug the project
- Go to the variables window
 The type is not shown for the 'f' variable
Comment 1 Alexandr Scherbatiy 2009-09-17 11:58:11 UTC
Copy the code to the editor and debug it:
-------------------------------------------------
var i = 3;
var num = 3.0;

var b = true;

var c = "2".charAt(0);


var byte:Byte = 1;
var short:Short = 2;
var long:Long = 3;
var float:Float = 5.0;
var double:Double = 10.0;


var date = 3h;

var void = function():Void{};

var str = "Hello!";

class A{}

var a = A{};

var f = function(a:Number, b:String):Boolean { true };
var seqf = function(a:A[], b:String[]):Boolean[] { [] };



var seq = ["1", "2", "3" ];
-------------------------------------------------

The Duration, String, A and function type are not shown in the Variables window
Comment 2 Michal Skvor 2009-10-14 12:23:55 UTC
I can see all variables.
Comment 3 Lukas Hasik 2009-10-16 12:07:13 UTC
works for me with 16/10 build on Mac.