TraverseUI test fixed

This commit is contained in:
Dmitry Avdeev
2011-08-25 18:06:46 +04:00
parent 2ea71c0476
commit 0a253b071a
@@ -70,6 +70,7 @@ public class CodeFragmentFactoryContextWrapper implements CodeFragmentFactory{
private PsiElement wrapContext(Project project, final PsiElement originalContext) {
if (project.isDefault()) return originalContext;
PsiElement context = originalContext;
final DebugProcessImpl process = DebuggerManagerEx.getInstanceEx(project).getContext().getDebugProcess();
if (process != null) {