Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2014-02-26 16:08:38 +0000
committerAnton Leherbauer2014-02-26 16:08:38 +0000
commitb0b689e83b34cda2b24b7424d98b285106a6bed9 (patch)
tree6d7d6ba39d5b5bb69bf2b4a833b5f92374b417c5
parentd713a94780a290511386008714f733079fcbca0f (diff)
downloadorg.eclipse.tcf-b0b689e83b34cda2b24b7424d98b285106a6bed9.tar.gz
org.eclipse.tcf-b0b689e83b34cda2b24b7424d98b285106a6bed9.tar.xz
org.eclipse.tcf-b0b689e83b34cda2b24b7424d98b285106a6bed9.zip
TCF Debugger: Bug 429165 - Selecting Scope properties page of a breakpoint always creates a scope
Change-Id: I2d92b6eebff01427cd60a57cfe172c4590de607c Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java
index 06015f7cc..0726be33b 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java
@@ -236,15 +236,16 @@ public class TCFThreadFilterEditor {
&& context.fBpGroup != null)
{
filteredList.add(obj);
+ fFilteredContexts.add(obj);
} else if (context.fIsContainer) {
Object[] childArray = getChildren(obj);
if (childArray != null && childArray.length != 0) {
filteredList.add(obj);
+ fFilteredContexts.add(obj);
}
}
}
}
- fFilteredContexts.addAll(filteredList);
return filteredList.toArray(new Object[filteredList.size()]);
}
@@ -266,7 +267,7 @@ public class TCFThreadFilterEditor {
}
public Object[] getElements(Object inputElement) {
- return filterList(getChildren(inputElement));
+ return getChildren(inputElement);
}
public void dispose() {

Back to the top