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 174193 - Debugger does not show attributes in the JavaFX style
Summary: Debugger does not show attributes in the JavaFX style
Status: VERIFIED DUPLICATE of bug 172460
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2009-10-09 09:57 UTC by Alexandr Scherbatiy
Modified: 2009-11-18 02:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Data types in the Navigator (126.17 KB, image/png)
2009-10-27 12:00 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-10-09 09:57:11 UTC
Product Version         = NetBeans IDE Dev (Build 200910080418) (#4925e52d6715)
  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.


- Copy the code to the editor
--------------------------------------------------------------------
class A{
    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 str = "Hello!";



    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" ];

}

var a = A{};

println(a);
--------------------------------------------------------------------

- Set a breakpoint to the last line
- Debug the file
- Go to the Local Variables window
- Expand the 'a' variable
  It contains 'javafxapplication$Main$A$i' attribute instead of 'i' 
  It contains 'javafxapplication$Main$A$num' attribute instead of 'num'
  And etc.
Comment 1 Michal Skvor 2009-10-12 12:05:01 UTC
Byte, Short, Long, Float and Double types are not JavaFX types.

- proper types for i and num are fixed
Comment 2 Lukas Hasik 2009-10-12 12:59:37 UTC
changeset, TM ?
Comment 3 Michal Skvor 2009-10-14 12:33:58 UTC
Changeset!
Comment 4 Michal Skvor 2009-10-14 12:37:51 UTC
Try this one : 2660:9faf379a65c7
Comment 5 Alexandr Scherbatiy 2009-10-27 11:58:16 UTC
> Byte, Short, Long, Float and Double types are not JavaFX types.
They are the JavaFX types.
See http://openjfx.java.sun.com/hudson/job/openjfx-compiler/lastSuccessfulBuild/artifact/dist/doc/reference/TypeChart.html

So the debugger should show the Byte type instead of the byte and so on.

Also check what the Navigator shows for these types.
For example it shows 'f:function(:Float,:java.lang.String):Boolean' instead of com.sun.javafx.functions.Function2.
The debugger should show the same type.
Comment 6 Alexandr Scherbatiy 2009-10-27 12:00:53 UTC
Created attachment 90126 [details]
Data types in the Navigator
Comment 7 Michal Skvor 2009-10-30 16:06:42 UTC
This is issue similar to the 172193 so I'm closing it as duplicate.

*** This issue has been marked as a duplicate of 172193 ***
Comment 8 Alexandr Scherbatiy 2009-11-02 10:12:00 UTC
I am sorry.

The issue 172193 is the profiler issue "AssertionError: nps param should not be empty". 
It is not related to the current issue.

Comment 9 Michal Skvor 2009-11-09 04:00:19 UTC
Sorry, the issue should be 172460

*** This bug has been marked as a duplicate of bug 172460 ***
Comment 10 Alexandr Scherbatiy 2009-11-18 02:24:17 UTC
verified as duplicate.