Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-05-13 12:29:02 -0400
committereutarass2011-05-13 12:29:02 -0400
commitd770c1e40de547f46f9634d66849beb8f7b1b4ce (patch)
tree8f0ebada29333e32515d554a4069e65ce21f17fd
parent3ec42432de95c653bcca03d81b49838dc009bcf1 (diff)
downloadorg.eclipse.tcf-d770c1e40de547f46f9634d66849beb8f7b1b4ce.tar.gz
org.eclipse.tcf-d770c1e40de547f46f9634d66849beb8f7b1b4ce.tar.xz
org.eclipse.tcf-d770c1e40de547f46f9634d66849beb8f7b1b4ce.zip
TCF Debugger: changed breakpoint status page to show "Not planted" instead of empty view when the breakpoint is not planted anywhere (e.g. disabled).
-rw-r--r--plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java5
1 files changed, 5 insertions, 0 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 dc42f8431..2f946aea6 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
@@ -299,6 +299,11 @@ public class TCFBreakpointStatusPage extends PropertyPage {
if (x != null) roots.add(x);
}
for (StatusCache cache : caches) cache.dispose();
+ if (roots.size() == 0) {
+ StatusItem x = new StatusItem();
+ x.text = "Not planted";
+ roots.add(x);
+ }
done(roots);
}
}.getE();

Back to the top