From 7579904492836536ad095543adc80ca49c55e37e Mon Sep 17 00:00:00 2001 From: fros4943 Date: Mon, 31 Mar 2008 15:19:27 +0000 Subject: [PATCH] update source info when breakpoints are altered --- .../src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java index 9618b37d3..6abe16cee 100644 --- a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java +++ b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: MspCodeWatcher.java,v 1.6 2008/03/19 17:42:44 fros4943 Exp $ + * $Id: MspCodeWatcher.java,v 1.7 2008/03/31 15:19:27 fros4943 Exp $ */ package se.sics.cooja.mspmote.plugins; @@ -91,6 +91,11 @@ public class MspCodeWatcher extends VisPlugin { Hashtable> debuggingInfo = getFirmwareDebugInfo(); breakpoints = new Breakpoints(debuggingInfo, mspMote); + breakpoints.addBreakpointListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + updateInfo(); + } + }); getContentPane().setLayout(new BorderLayout());