Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorJames Blackburn2009-06-02 11:49:10 -0400
committerJames Blackburn2009-06-02 11:49:10 -0400
commit350d47f245c8a4383f2b9a7e6169c0be3d9b93ef (patch)
treee9da1db1d7ca24a29307aa365dfa82a09b6294e5 /debug
parentfce5c580e4bcc4132b8586fe3f97f1de160b4a7d (diff)
downloadorg.eclipse.cdt-350d47f245c8a4383f2b9a7e6169c0be3d9b93ef.tar.gz
org.eclipse.cdt-350d47f245c8a4383f2b9a7e6169c0be3d9b93ef.tar.xz
org.eclipse.cdt-350d47f245c8a4383f2b9a7e6169c0be3d9b93ef.zip
Bug 278805 Fix regression, #isTargetBreakpoint(...) should default to allowing breakpoints it can't classify.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
index 55442bff79..c8a8a6247f 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java
@@ -1257,7 +1257,9 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
return ((CSourceLookupDirector)sl).contains( project );
}
}
- return false;
+ // Allow unclassified breakpoints i.e. those which aren't project scoped,
+ // or not resource related (e.g. watchpoints)
+ return true;
}
public boolean supportsBreakpoint( ICBreakpoint breakpoint ) {

Back to the top