protected EvaluationContextImpl getEvaluationContext(EvaluationContextImpl evaluationContext) {
evaluationContext.setAllowBreakpoints(myAllowBreakpoints);
return evaluationContext;
}
protected PsiCodeFragment getEvaluationCode(StackFrameContext context) throws EvaluateException {
<BUG>final PsiElement psiContext = PositionUtil.getContextElement(context);
return getEffectiveCodeFragmentFactory(psiContext).createCodeFragment(getEvaluationText(), psiContext, myProject);
}</BUG>
public void setAllowBreakpoints(boolean b) {
myAllowBreakpoints = b;

protected EvaluationContextImpl getEvaluationContext(EvaluationContextImpl evaluationContext) {
evaluationContext.setAllowBreakpoints(myAllowBreakpoints);
return evaluationContext;
}
protected PsiCodeFragment getEvaluationCode(StackFrameContext context) throws EvaluateException {
final PsiElement psiContext = PositionUtil.getContextElement(context);
final PsiCodeFragment fragment =
getEffectiveCodeFragmentFactory(psiContext).createCodeFragment(getEvaluationText(), psiContext, myProject);
fragment.forceResolveScope(GlobalSearchScope.allScope(myProject));
return fragment;
}
public void setAllowBreakpoints(boolean b) {
myAllowBreakpoints = b;
