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 148006 - Show function type in Local Variables window
Summary: Show function type in Local Variables window
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javafx
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-23 11:25 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-09-23 11:25:33 UTC
Steps to reproduce:

- Create a JavaFX Script file:
-----------------------------------------------
var add = function (x:Number, y:Number):Number {
    return x + y;
}

java.lang.System.out.println("");
-----------------------------------------------

- Set a breakpoint to the last line
- Debug the file
- Open the Local Variables window
  The 'add' variable has 'Main$1' type instead of 'function(x:Number, y:Number):Number'
Comment 1 Alexey Butenko 2008-10-30 13:56:00 UTC
It is not a defect,
This statement is compiled to the following class 'Main$1',
so that's why it has such type.
Comment 2 David Strupl 2011-05-16 13:48:19 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.