diff options
author | Eugene Tarassov | 2013-01-23 23:52:13 +0000 |
---|---|---|
committer | Eugene Tarassov | 2013-01-23 23:52:13 +0000 |
commit | 8220b2707482f39aea0fc4751b7a59ea79521b96 (patch) | |
tree | a66a67328714e2e86ac6429a4aeb22aebaba5e46 /plugins/org.eclipse.tcf.debug | |
parent | ae75d404146564da22105c23ed9cdff267a227ab (diff) | |
download | org.eclipse.tcf-8220b2707482f39aea0fc4751b7a59ea79521b96.tar.gz org.eclipse.tcf-8220b2707482f39aea0fc4751b7a59ea79521b96.tar.xz org.eclipse.tcf-8220b2707482f39aea0fc4751b7a59ea79521b96.zip |
TCF Debugger: fixed: volatile attributes of CDT breakpoint marker generate unwanted debugger traffic
Diffstat (limited to 'plugins/org.eclipse.tcf.debug')
-rw-r--r-- | plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java index 5f88520bd..6cdf44fff 100644 --- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java +++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java @@ -193,6 +193,7 @@ public class TCFBreakpointsModel { if (marker.getAttribute(ATTR_REQESTED_LINE, -1) >= 0) keys.remove(ATTR_LINE); if (marker.getAttribute(ATTR_REQESTED_CHAR, -1) >= 0) keys.remove(ATTR_CHAR); keys.remove(ATTR_INSTALL_COUNT); + keys.remove(ATTR_TCF_STAMP); keys.remove(ATTR_MESSAGE); keys.remove(ATTR_STATUS); return keys; @@ -610,7 +611,11 @@ public class TCFBreakpointsModel { client_data.put(CDATA_CLIENT_ID, Activator.getClientID()); if (type != null) client_data.put(CDATA_TYPE, type); if (file != null) client_data.put(CDATA_FILE, file); - client_data.put(CDATA_MARKER, p); + Map<String,Object> x = new HashMap<String,Object>(p); + x.remove(ATTR_INSTALL_COUNT); + x.remove(ATTR_TCF_STAMP); + x.remove(ATTR_STATUS); + client_data.put(CDATA_MARKER, x); } for (Map.Entry<String,Object> e : p.entrySet()) { String key = e.getKey(); |