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 175580

Summary: Unable to set a breakpoint
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173186, 173187    

Description Alexandr Scherbatiy 2009-10-28 10:56:42 UTC
Product Version         = NetBeans IDE Dev (Build 200910271401) (#32576b20b4bb)
  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:

- Type in the editor:
---------------------------
var a = 10;
---------------------------

- Try to set a breakpoint to the 'a' variable  (click on the Glyph Gutter in the editor) 
The breakpoint is not set
Comment 1 Alexandr Scherbatiy 2009-10-30 11:01:09 UTC
Main functionality is broken
Comment 2 Michal Skvor 2009-11-02 12:36:45 UTC
This issue is caused by java debugger where actions are registered via the annotation. It seems that constructor for
actions are called after the debugger is started for the first time.
Comment 3 Martin Entlicher 2009-11-02 13:20:32 UTC
This should be fixed by http://hg.netbeans.org/main-silver?cmd=changeset;node=97dec834429a
Comment 4 Alexandr Scherbatiy 2009-11-02 15:12:03 UTC
verified in Build 200910310201