What event exactly do you need to handle? IJavaBreakpointListener supports multiple different types of events, and not all of them have equivalents in IntelliJ IDEA.
There are A.java,A.class and B.class generated from A.class,I need to know a whether a breakpoint is A.java and put it at a specific position in B.class, In JDT, I can use addingBreakpoint() in IJavaBreakpointListener and creatRequest in Javabreakpoint. Is there something equivalent in idea?
Yes. To add a listener for receiving a notification when a breakpoint is added, use XDebuggerManager.getInstance(project).getBreakpointManager().addBreakpointListener(). To add a breakpoint, use getBreakpointManager().addLineBreakpoint(). As the breakpoint type in both calls, use XBreakpointUtil.findType("java-line").
What event exactly do you need to handle? IJavaBreakpointListener supports multiple different types of events, and not all of them have equivalents in IntelliJ IDEA.
There are A.java,A.class and B.class generated from A.class,I need to know a whether a breakpoint is A.java and put it at a specific position in B.class, In JDT, I can use addingBreakpoint() in IJavaBreakpointListener and creatRequest in Javabreakpoint. Is there something equivalent in idea?
Yes. To add a listener for receiving a notification when a breakpoint is added, use XDebuggerManager.getInstance(project).getBreakpointManager().addBreakpointListener(). To add a breakpoint, use getBreakpointManager().addLineBreakpoint(). As the breakpoint type in both calls, use XBreakpointUtil.findType("java-line").
Thanks, I'll try that. Is there any document avaliable?
No, not at the moment.