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 188663

Summary: +Script node is not always displayed
Product: javafx Reporter: Martin Ryzl <mryzl>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Martin Ryzl 2010-07-14 13:07:03 UTC
Consider following code:

var b = 10;   // << breakpoint 1
var a = bind b; //  << breakpoint 2
b = 13;  // << breakpoint 3

println(a);  // << breakpoint 4

1. when stopped on breakpoint 1, +Script node is visible
2. breakpoint 2 won't be triggered (at least for now) due to another issue
3. when stopped on 3 or 4, +Script node is not visible

apparently the difference is that in the first case the context is Main$Script (non-static context) and in the second case it is just Main.javafx$run (static context). The (java) debugger distinguish between the cases and passes javafx debugger information which javafx debugger resolves incorrectly.
Comment 1 Michal Skvor 2010-08-03 13:46:49 UTC
The Script node is visible only when "this" variable is present on the debugger level. I agree that Script should be always visible but to fix it I need fix from the fxjdi side.
Comment 2 David Strupl 2011-05-16 13:53:06 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.