There are several known problems in debuggercore APIs, which will caused incompatible API changed when fixed.
We will list/discuss the desired API changes here and then decide which release we will put this into.
One problem is in DebuggerManager.
((DebuggerManagerListener) l.elementAt (i)).watchRemoved (watch);
// TODO: fix nonsense double firing
((DebuggerManagerListener) l.elementAt (i)).propertyChange (ev);
does not look right, but can not be changed in a compatible way.
Watch initialization is implemented via DebuggerManagerListener and (unlike breakpoint initialization) the listener
implementation is supposed to add the created watches explicitely into DebuggerManager. This makes it impossible to
distinguish between creation and addition.
createWatch() is public, but removeWatch() is package-private and called from Watch.remove() - inconsistent.
Watch is a final class - encapsulation of String, but Breakpoint is an abstract class. Perhaps this is O.K., but the
reasons are not clear.