diff options
author | Eugene Tarassov | 2014-10-14 04:49:08 +0000 |
---|---|---|
committer | Eugene Tarassov | 2014-10-14 04:49:08 +0000 |
commit | 55ae40c37d4c295edbdb34d21a6f9a2c8f4c6c6a (patch) | |
tree | f3818551a1030760194006bf0b62b0c30472de9e /plugins | |
parent | 44c37269499c0a78b9af69da1b5f709404bbeafb (diff) | |
download | org.eclipse.tcf-55ae40c37d4c295edbdb34d21a6f9a2c8f4c6c6a.tar.gz org.eclipse.tcf-55ae40c37d4c295edbdb34d21a6f9a2c8f4c6c6a.tar.xz org.eclipse.tcf-55ae40c37d4c295edbdb34d21a6f9a2c8f4c6c6a.zip |
Bug 446518 - Function breakpoints should be planted after function prologue
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IBreakpoints.java | 6 | ||||
-rw-r--r-- | plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/TCFBreakpointsModel.java | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IBreakpoints.java b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IBreakpoints.java index 6b682bb7c..9f4bb0918 100644 --- a/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IBreakpoints.java +++ b/plugins/org.eclipse.tcf.core/src/org/eclipse/tcf/services/IBreakpoints.java @@ -67,7 +67,8 @@ public interface IBreakpoints extends IService { PROP_EVENT_TYPE = "EventType", // String PROP_EVENT_ARGS = "EventArgs", // String or Object PROP_CLIENT_DATA = "ClientData", // Object - PROP_ACTION = "Action"; // String - expression or script + PROP_ACTION = "Action", // String - expression or script + PROP_SKIP_PROLOGUE = "SkipPrologue"; // Boolean /** * @deprecated @@ -151,7 +152,8 @@ public interface IBreakpoints extends IService { CAPABILITY_TEMPORARY = "Temporary", // Boolean CAPABILITY_IGNORE_COUNT = "IgnoreCount", // Boolean CAPABILITY_ACCESS_MODE = "AccessMode", // Number - CAPABILITY_CLIENT_DATA = "ClientData"; // Boolean + CAPABILITY_CLIENT_DATA = "ClientData", // Boolean + CAPABILITY_SKIP_PROLOGUE = "SkipPrologue"; // Boolean /** * @deprecated 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 ab6cd2dfb..82bd75942 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 @@ -725,6 +725,12 @@ public class TCFBreakpointsModel { else if (p.get(ATTR_FUNCTION) != null) { String expr = (String)p.get(ATTR_FUNCTION); if (expr != null && expr.length() != 0) m.put(IBreakpoints.PROP_LOCATION, expr); + if (capabilities != null) { + Object obj = capabilities.get(IBreakpoints.CAPABILITY_SKIP_PROLOGUE); + if (obj instanceof Boolean && ((Boolean)obj).booleanValue()) { + m.put(IBreakpoints.PROP_SKIP_PROLOGUE, Boolean.TRUE); + } + } } else if (file == null) { String address = (String)p.get(ATTR_ADDRESS); |