take search scope obtained from run configuration into account to navigate to correct class when user clicks on stacktrace printed in console or log (IDEA-63362)

This commit is contained in:
nik
2013-03-01 17:19:52 +04:00
parent 864210182c
commit 872772ddbc
10 changed files with 93 additions and 43 deletions
@@ -86,10 +86,8 @@ public class DefaultJavaProgramRunner extends JavaPatchableProgramRunner {
onProcessStarted(env.getRunnerSettings(), executionResult);
final RunContentBuilder contentBuilder = new RunContentBuilder(project, this, executor);
final RunContentBuilder contentBuilder = new RunContentBuilder(project, this, executor, executionResult, env);
Disposer.register(project, contentBuilder);
contentBuilder.setExecutionResult(executionResult);
contentBuilder.setEnvironment(env);
if (shouldAddDefaultActions) {
addDefaultActions(contentBuilder);
}