Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-11-08 15:14:50 -0500
committerEugene Tarassov2011-11-08 15:14:50 -0500
commit17518d356cbd8dff1fe80aa1ee4aceeed15b7cdd (patch)
treeae15e098e3bf887464da95c61a4d1fb355ea0ece
parentdef2f896111edab88f73a71beecf9c794a9b82ed (diff)
downloadorg.eclipse.tcf-17518d356cbd8dff1fe80aa1ee4aceeed15b7cdd.tar.gz
org.eclipse.tcf-17518d356cbd8dff1fe80aa1ee4aceeed15b7cdd.tar.xz
org.eclipse.tcf-17518d356cbd8dff1fe80aa1ee4aceeed15b7cdd.zip
TCF Debugger: added code to show breakpoint type and size in the breakpoint status page.
-rw-r--r--plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java4
-rw-r--r--plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IBreakpoints.java8
2 files changed, 9 insertions, 3 deletions
diff --git a/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java b/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java
index 6087060de..3a07b9949 100644
--- a/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java
+++ b/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java
@@ -124,6 +124,10 @@ public class TCFBreakpointStatusPage extends PropertyPage {
BigInteger i = JSON.toBigInteger(addr);
z.text = "Planted at 0x" + i.toString(16);
z.planted_ok = true;
+ Number size = (Number)m.get(IBreakpoints.INSTANCE_SIZE);
+ if (size != null) z.text += "; Size " + size;
+ String type = (String)m.get(IBreakpoints.INSTANCE_TYPE);
+ if (type != null) z.text += "; Type: " + type;
}
}
z.parent = y;
diff --git a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IBreakpoints.java b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IBreakpoints.java
index 7a7f39ce1..122ed72d8 100644
--- a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IBreakpoints.java
+++ b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/services/IBreakpoints.java
@@ -109,9 +109,11 @@ public interface IBreakpoints extends IService {
* Breakpoint instance field names.
*/
static final String
- INSTANCE_ERROR = "Error", // String
- INSTANCE_CONTEXT = "LocationContext", // String
- INSTANCE_ADDRESS = "Address"; // Number
+ INSTANCE_ERROR = "Error", // String
+ INSTANCE_CONTEXT = "LocationContext", // String
+ INSTANCE_ADDRESS = "Address", // Number
+ INSTANCE_SIZE = "Size", // Number
+ INSTANCE_TYPE = "BreakpointType"; // String
/**
* Breakpoint service capabilities.

Back to the top