If watchpoints are set for two (or more) variables, a read/write into either one of its location, causes updateHit() for both watchpoint observers to trigger. (Same task)
Watchpoints were being broadcast to all observers. Fixed. - Log ----------------------------------------------------------------- commit 698d437d536d29ef47d59441c0dd88e8616e86a1 Author: Phil Muldoon <pmuldoon@redhat.com> Date: Tue Apr 22 09:12:00 2008 +0100 Only notify watchpoint observers that have been triggered. 2008-04-22 Phil Muldoon <pmuldoon@redhat.com> * LinuxPtraceTaskState.java (Running.checkWatchpoint): Check write state on notify. * LinuxPtraceTask.java (notifyWatchpoint): Collect only watchpoints that have been triggered, then notify. * LinuxPtraceProc.java (LinuxPtraceProc): Wide watchpoint scope to protected.