if (psiFile == null) {
return null;
}
final FileType fileType = psiFile.getFileType();
boolean isInsideCompiledClass = StdFileTypes.CLASS.equals(fileType);
<BUG>if (!isInsideCompiledClass && !DebuggerUtils.supportsJVMDebugging(fileType)) {
</BUG>
return null;
}
PsiDocumentManager.getInstance(myProject).commitDocument(document);

if (psiFile == null) {
return null;
}
final FileType fileType = psiFile.getFileType();
boolean isInsideCompiledClass = StdFileTypes.CLASS.equals(fileType);
if (!isInsideCompiledClass && !(DebuggerUtils.supportsJVMDebugging(fileType) || DebuggerUtils.supportsJVMDebugging(psiFile))) {
return null;
}
PsiDocumentManager.getInstance(myProject).commitDocument(document);
