exc fixed: Throwable: FileManagerImpl.dispatchPendingEvents

This commit is contained in:
nik
2010-01-29 14:47:51 +03:00
parent 23841e8b34
commit bac25ee308
@@ -200,7 +200,7 @@ public class XLineBreakpointManager {
if (line >= 0 && line < document.getLineCount() && file != null) {
ApplicationManager.getApplication().invokeLater(new Runnable() {
public void run() {
if (!myProject.isDisposed() && file.isValid()) {
if (!myProject.isDisposed() && myProject.isInitialized() && file.isValid()) {
XDebuggerUtil.getInstance().toggleLineBreakpoint(myProject, file, line);
}
}