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 172163

Summary: Debugger twice goes through a file
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://javafx-jira.kenai.com/browse/JFXC-3497
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173187    

Description Alexandr Scherbatiy 2009-09-14 12:14:11 UTC
Steps to reproduce:

- Copy the code to the editor
-------------------------------------------------
var a = 10.0;
var b = 20.0;
var c = a + b;
-------------------------------------------------

- Set break points for the each varibale
- Start Debugger (Ctrl+F5)
- Open the variables window

- Press F5 (three times)
 The debugger goes to the last line but the default values are not shown in the variables window

- Press F5
 The debugger starts from the beginning of the file
Comment 1 Alexandr Scherbatiy 2009-09-14 12:18:47 UTC
netbeans-trunk-nightly-200909132344-javafx-full.zip 

  Product Version         = NetBeans IDE Dev (Build 200909132344) (#a16a818453db)
  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.
Comment 2 Lukas Hasik 2009-11-12 07:56:32 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:42:10 UTC
There are line number generated for code which is unrelated to these statements, but debugger has no idea. Must be fixed on JavaFX SDK side.
Comment 4 David Strupl 2011-05-16 13:49:38 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.