In addition to signalling whenever the task is stopped, UpdatingDisplayValue should signal whenever the value of the expression changes. This is more useful as a lower-overhead and coarser-grained message.
This now works, as confirmed by frysk.rt.TestUpdatingDisplayValue. ChangeLog: 2007-06-18 Adam Jocksch <ajocksch@redhat.com> * DisplayValueObserver.java (updateValueChanged): Added. * TestDisplayValue.java: Added comments to individual tests. * TestUpdatingDisplayValue.java (testUpdateTaskStopped): Changed lines at which breakpoints were being added. (testUpdateValueChanged): Added, confirms bz# 4644 as fixed. (DisplayObserver): Changed to reflect above change to DisplayValueObserver. * UpdatingDisplayValue.java (oldValue): Added, tracks previous value of the expression. (refresh): Now compares the current byte array to the previous one and signals the observers if the value has changed. (notifyObserversValueChanged): Added. (arrayChanged): Added. (LockObserver): Now correctly recognizes stopping/continuing events from the SteppingEngine. * Location.java: Made public so we can access the internal ByteBuffer.