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 173083

Summary: Watches window does not show the variable value
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://javafx-jira.kenai.com/browse/JFXC-1975
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173187    

Description Alexandr Scherbatiy 2009-09-25 10:46:00 UTC
Build: NetBeans IDE Dev (Build 200909221401)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Windows XP, 5.1, x86


Steps to reproduce:

- Copy to the editor:
------------------------------------------------------
var a = 10;
var b = 20.5;
var c = a + b;


print(c);
-----------------------------------------------------
- Set a breakpoint to thje last line
- Start the debugger
- Go to the Watches window
- Add 'a' to the watches 

The watches window shows '> "a" is not a known variable in the current context. <' as the variable value
Comment 1 Michal Skvor 2009-10-14 12:26:45 UTC
Depending on evaluator.
Comment 2 Lukas Hasik 2009-11-12 07:56:35 UTC
as this bug is either caused by the fx compiler or it too complicated to fix it in 6.8 - > approved
Comment 3 Petr Suchomel 2010-03-26 13:28:13 UTC
There was no move from JavaFX compiler team. Will have to wait until next version (at least)
Comment 4 Michal Skvor 2010-06-22 14:39:48 UTC
This issue works for me.
Comment 5 Alexandr Scherbatiy 2010-06-24 09:06:04 UTC
verified in JavaFX Composer FXJDI: #31
NetBeans IDE Dev (Build 201006240001)

See also issue 187976