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.
While writing a bpt customizer I was in a position to have a panel get a Breakpoint and need to get at the type in order to get a sub-customizer. But there is no Breakpoint.getBreakpointType()! This would also mean that the constructor for Breakpoint needs a BT passed in. I'm sure this can be worked around but it would be a nice improvement. Also make BreakpointType become a factory of Breakpoints?
looks like venus issue
*** Issue 47141 has been marked as a duplicate of this issue. ***
Ivan S.: When fixing, see also duplicate 47141 (47141 has an additional comment/request for enhancement that is different and is not mentioned in 47136)
We can not add Breakpoint.getBreakpointType() that would return BreakpointType. The API was designed (IMHO unnecessarily) into two modules, therefore api.debugger should not depend on spi.debugger.ui - since the dependency is vice-versa. Therefore Breakpoint can not access BreakpointType. However, I prepare to add additional properties to Breakpoint (like String type, language, etc.)
Please have a look at issue #179759 and https://netbeans.org/bugzilla/attachment.cgi?id=93458 This is supposed to solve this as well. Would it be sufficient?
Too bad about the module dependency thing. Names are OK; that's what I end up effectively using However, see my IS2 comment on issue #179759.