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.
Pilsen (build 001220_3) and Netbeans 93 --------------------------------------- Class names of Line, Method, Exception and Variable breakpoints are considered as if they were regular expression with * at the end. For example exception breakpoint on "j" stops on all exceptions starting with "j" (e.g. java.lang.IOException). The breakpoint should work only for classes whose names exactly match the class name of the breakpoint.
*** Bug 9571 has been marked as a duplicate of this bug. ***
Assigned
Version: 'Dev' -> 3.2
Fixed together with bug #9102 (Breakpoint set to a line in innerclass of a innerclass is not valid).
Exact matching works well for classes generated with FastJavac. Line breakpoints are also working well as they are specified mainly by a line number, not by class name. For classes generated with Javac the name matching is nearly exact. It works well for all named (both outer and inner/nested) classes. Exact matching is not possible for anonymous classes due to JDK bug #4431170. It is not possible to distinguish between anonymous classes nested directly into the outermost classes and anonymous classes nested into nested classes. The current behaviour is as follows: If a user tries to set a breakpoint to the outermost class then the debugger sets the breakpoint to all anonymous inner classes (directly or indirectly) nested to the outermost class and to all classes directly or indirectly nested to them. It is not possible to set a breakpoint to an anonymous inner class nested to a named nested class until the nested class itself is (directly or indirectly) nested into another anonymous inner class. It is possible to set a line breakpoint instead as a workaround.
Verified in Netbeans release 3.2 build 38.
Target milestone -> 3.2
Not fixed for method breakpoints with status "stop on all methods for given class".
Fixed in the main trunk. Changed method 'exec()' so that it filters MethodEntryEvent and MethodExitEvent, too. Also changed class filter in 'set()' in section for 'allMethods' from "getClassName()" to "getClassName() + '*'" so that it does not rely on incorrect behaviour of JDK 1.3.
Verified in Netbeans build 205.
Resolved for 3.3.x or earlier, no new info since then -> closing.