I've been implementing a debugger for my custom language plugin. Overall it's come along very well, so now I'm just trying to add some cosmetic polish. I have a custom breakpoint type and want to mark breakpoints as valid so that the correct gutter icon will be shown. I can't figure out quite how to do that, though. I've found Breakpoint.markValid(), but my breakpoints end up being XLineBreakpoints which don't seem to be available as those types of breakpoints, only as XLineBreakpoints.
I'm also fine customizing the presentation to show the correct icon if that makes more sense, but the only place I can find to customize the presentation is my implementation of XLineBreakpointType. While getDisplayText() and getShortText() are called with the actual breakpoint, none of the get*Icon() methods are called with context.
Thanks in advance for any thoughts!