title: ORA-06508: PL/SQL: could not find program unit being called
body: <p>I am using oracle 10g and toad 11.5. I am trying to call an api from an anonymous block.</p>
  <p>If I recompile the api after adding <code>dbms_output.put_line</code> and then try to execute the anonymous block, it shows error as:</p>
  <pre><code>&quot;ORA-06508: PL/SQL: could not find program unit being called&quot;.
  </code></pre>
  <p>However if I end current session and open a new session, then the anonymous block will execute with out the error.</p>
  <p>Due to this issue, i am made to reconnect the session everytime i make a change to API.
  Can anyone help if this issue can be resolved by making any configurations in toad or database level.</p>