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.
Some debugger integrations need to use additional binary class names when submitting breakpoints. For instance, JRebel needs to set breakpoints also to "<class name>$$M$*" classes. It needs to be possible to register a service, that provide this information.
I suggest to add an abstract class like: public abstract class BreakpointsClassFilter { public abstract String[] filterClassNames(String[] classNames, JPDABreakpoint breakpoint); } which could be implemented and registered into the system. It would be called by the breakpoint implementation classes, when submitting breakpoint requests.
Created attachment 122486 [details] The proposed API change with a test included.
Please review the proposed API change.
Thanks for the review, I'm going to push this API change tomorrow.
Pushed as changeset: 227825:e65d14ccee87 http://hg.netbeans.org/main/rev/e65d14ccee87
Integrated into 'main-golden', will be available in build *201208080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e65d14ccee87 User: mentlicher@netbeans.org Log: #215680: Allow to change the binary classes to which breakpoints are submitted. BreakpointsClassFilter API introduced.