mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
debugger force early return: show dialog in write-safe context (EA-89314 - assert: PsiDocumentManagerBase.commitAllDocuments)
This commit is contained in:
@@ -81,8 +81,7 @@ public class ForceEarlyReturnAction extends DebuggerAction {
|
||||
forceEarlyReturnWithFinally(thread.getVirtualMachine().mirrorOfVoid(), stackFrame, debugProcess, null);
|
||||
}
|
||||
else {
|
||||
//noinspection SSBasedInspection
|
||||
SwingUtilities.invokeLater(
|
||||
ApplicationManager.getApplication().invokeLater(
|
||||
() -> new ReturnExpressionDialog(project, debugProcess.getXdebugProcess().getEditorsProvider(), debugProcess, stackFrame).show());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user