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.
Product Version: NetBeans IDE Dev (Build 200807090008) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb) Observed: New breakpoint dialog correctly recognizes field only when caret is at their declaration - if the caret is on the field anywhere else the New breakpoint dialog doesn't recognize it and it is automatically set to some other type of breakpoint(class, method, etc.). Expected: When the caret is inside some field(and the field is set active(yellowish background)) new breakpoint should be automatically set to field breakpoint for this field. Steps to reproduce: Open MemoryView.java in editor -> place caret on some of the three fields on lines 38-40 and see that its background changes to yellow -> invoke Run|New Breakpoint
IMHO this is a duplicate of issue #66316. The fields could be recognized in the code via Javac API. But this is more an enhancement then a defect, this functionality was not yet implemented. *** This issue has been marked as a duplicate of 66316 ***
duplicate verified