Get breakpoints
Answered
How get all active line breakpoints in com.intellij.openapi.actionSystem.AnAction#actionPerformed (for example) ?
Please sign in to leave a comment.
See com.intellij.xdebugger.breakpoints.XBreakpointManager
But breakpoints is null, also with ...
.findBreakpointType(XLineBreakpointType.class)
You can use XBreakpointManagerImpl.getAllBreakpoints and then filter by
getType() instanceof XLineBreakpointType
.. or https://intellij-support.jetbrains.com/hc/en-us/community/posts/206115649-How-to-access-Exception-Breakpoints-panel?page=1#community_comment_206686679
What variant is better. I'm need "
com.jetbrains.cidr.execution.debugger.breakpoints.CidrLineBreakpointType
" in Clion
i suppose.
Yes, com.jetbrains.cidr.execution.debugger.breakpoints.CidrLineBreakpointType is correct
Hi,all! I recently had the same problem. I don't know how to use the "Collection" type breakpoints. I want to know the number of lines where the break point is.
hope your reply,thanks!