weaker condition for testing if the file belongs to run-config scope

This commit is contained in:
Eugene Zhuravlev
2009-11-10 16:07:54 +03:00
parent 65b2f1413a
commit 231b68175f
@@ -176,7 +176,7 @@ public class LineBreakpoint extends BreakpointWithHighlighter {
if (position != null) {
final GlobalSearchScope scope = debugProcess.getSearchScope();
final VirtualFile file = position.getFile().getVirtualFile();
if (file != null && ProjectRootManager.getInstance(debugProcess.getProject()).getFileIndex().isInContent(file)) {
if (file != null && ProjectRootManager.getInstance(debugProcess.getProject()).getFileIndex().isInSourceContent(file)) {
return scope.accept(file);
}
}