Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2015-06-11 13:52:07 -0400
committerEugene Tarassov2015-06-11 13:52:07 -0400
commit4d044c4adefdd16fe89b3283ee070c725385607d (patch)
tree85d026c5c67e83a0469a54161c9009c610c8aad9 /plugins
parent77ab2b16e78941d4c87140fb16ddeaedb911db21 (diff)
downloadorg.eclipse.tcf-4d044c4adefdd16fe89b3283ee070c725385607d.tar.gz
org.eclipse.tcf-4d044c4adefdd16fe89b3283ee070c725385607d.tar.xz
org.eclipse.tcf-4d044c4adefdd16fe89b3283ee070c725385607d.zip
TCF Debugger: fixed: breakpoint scope dialog cannot handle debug context which is nether a container nor a thread
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/breakpoints/TCFThreadFilterEditor.java10
1 files changed, 4 insertions, 6 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 aeda007aa..0f5cd3f82 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
@@ -150,11 +150,9 @@ public class TCFThreadFilterEditor {
* default. When a container is unchecked, uncheck all its threads.
*/
private void checkContext(Context ctx, boolean checked) {
- if (ctx.fIsContainer) {
- Object[] threads = fContentProvider.getChildren(ctx);
- for (int i = 0; i < threads.length; i++) {
- checkContext((Context) threads[i], checked);
- }
+ Object[] threads = fContentProvider.getChildren(ctx);
+ for (int i = 0; i < threads.length; i++) {
+ checkContext((Context) threads[i], checked);
}
checkThread(ctx, checked);
}
@@ -237,7 +235,7 @@ public class TCFThreadFilterEditor {
{
filteredList.add(obj);
fFilteredContexts.add(obj);
- } else if (context.fIsContainer) {
+ } else {
Object[] childArray = getChildren(obj);
if (childArray != null && childArray.length != 0) {
filteredList.add(obj);

Back to the top