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 185927 - While scanning - all added breakpoints are Line breakpoints
Summary: While scanning - all added breakpoints are Line breakpoints
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 14:56 UTC by Marian Mirilovic
Modified: 2012-10-10 12:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2010-05-11 14:56:28 UTC
Product Version = NetBeans IDE Dev (Build 201005101712)
Operating System = Linux version 2.6.31-21-generic running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01

Steps to reproduce:
- start IDE
- open/create Java project
- add all available libraries on classpath (force long scan ;) ) through project/Properties
- while IDE is scanning try to add breakpoints on any line by editor gutter :
 1. even for method/field/class - the toggled breakpoint is the Line Breakpoint
 2. you can also toggle breakpoint for not valid (empty or commented) lines, that is not possible while scanning is not running

Found while verifying issue 183211
Comment 1 Martin Entlicher 2012-10-10 12:26:54 UTC
To fix this, we'd have to introduce a new icon for breakpoints that are not fully recognized yet.
It's too expensive work to perform the method/field recognition in AWT and this is why we put a line breakpoint there immediately and change it to a field/method breakpoint later after we do the recognition in a background thread. I'm not sure this is worth the effort...