final Project project = connectionHandler.getProject();
new BackgroundTask(project, "Initializing debug environment", false, true) {
public void execute(@NotNull ProgressIndicator progressIndicator) {
DatabaseDebuggerManager debuggerManager = DatabaseDebuggerManager.getInstance(project);
initProgressIndicator(progressIndicator, true, "Loading dependencies of " + runProfile.getMethod().getQualifiedNameWithType());
if (!project.isDisposed() && !progressIndicator.isCanceled()) {
DBMethod method = executionInput.getMethod();
List<DBSchemaObject> dependencies = debuggerManager.loadCompileDependencies(method, progressIndicator);
if (!progressIndicator.isCanceled()) {
if (dependencies.size() > 0) {
performCompile(
executionInput,
executor,