[Bluej-discuss] Open Source

Davin McCall davmac at bluej.org
Mon Nov 19 02:58:09 GMT 2007


Hi Chris,

The editor is open source and the public interface includes everything 
you'd need to fix the breakpoint issue yourself, if that's really what 
you want to do.

Get the source here:
http://www.bluej.org/download/editor-download.html

The EditorWatcher interface has a breakpointToggleEvent(...) method 
which you can use to set/clear breakpoints. The Editor interface itself 
has a removeBreakpoints() method which is called when a compilation 
occurs (and also when the source has been modified, i.e. an edit has 
been performed) to tell the editor that breakpoints have been cleared. 
In the former case you could trap the removeBreakpoints() method and 
instead of clearing the breakpoints, just re-initialize them using 
breakpointToggleEvent().

Other than that, be assured that the issue is in the bug tracker and 
will probably be fixed at some point, if not the next release (which is 
due out "real soon now").

Davin.


Chris Share wrote:
> I agree!
>
> I raised the issue of breakpoints disappering after each compile and nothing has been done about it. If BlueJ was OS I could have addressed this myself.
>
> Cheers,
>
> Chris
>
>   


More information about the bluej-discuss mailing list