title: Why does the display in Eclipse not support recursive functions in Java?
body: <p>I have implemented a factorial function in Java in the Eclipse IDE.</p>
  
  <pre><code>public class Utilities {
     public static int factorial(int n) {
          int result;
      if (n &lt;= 1) // base case
          return 1;
      else {
          result = (n * factorial(n - 1));
          return result;
      }
  }
  }
  </code></pre>
  
  <p>In the display in Eclipse, I inspect <code>Utilities.factorial(6)</code>. However, I get this error.</p>
  
  <pre><code>Utilities.factorial(6);
      Evaluation failed. Reason(s):
          Cannot perform nested evaluations.
  </code></pre>
  
  <p>Why does the display not support recursive calls? Is that the problem?</p>