title: Unable to Call Function in Go debugger
body: <p>I am following the "Little Go Book" by Karl Seguin, in order to learn Go.</p>
  
  <p>My working environment is Visual Studio Code.</p>
  
  <p>Upon debugging, when I try to call a function from the debug console, i get the following error:
  "function calls not allowed without using 'call'", if I try using "call fib(10)", i get "Unable to eval expression: "1:6: expected 'EOF', found fib". 
  This is the function I am trying to evaluate:</p>
  
  <pre><code>//Fibonnaci
  func fib(n int) int64 {
      if n == 0 {
          return 0
      } else if n == 1 {
          return 1
      } else {
          return fib(n-1) + fib(n-2)
      }
  }
  </code></pre>
  
  <p>If i try to call the function from the code itself ( from the main() for instance, it works perfectly).</p>
  
  <p>However, if I set a breakpoint and try to call the same function from the debugger console, I get the below error:</p>
  
  <pre><code>Eval error: function calls not allowed without using 'call'
  call fib(10)
  Unable to eval expression: "1:6: expected 'EOF', found fib"
  Failed to eval expression:  {
   "Expr": "call fib(10)",
   "Scope": {
    "goroutineID": 1,
    "frame": 0
   },
   "Cfg": {
    "followPointers": true,
    "maxVariableRecurse": 1,
    "maxStringLen": 64,
    "maxArrayValues": 64,
    "maxStructFields": -1
   }
  } 
  </code></pre>