We need to call the enterprisedb - procedures and edbspl functions from the anonymous block, if it does contain out/in-out paramters. It results into the following error for the current implementation: An error occurred: Error:Invalid Out Parameter... if select Debug function having IN OUT Parameter.
Please find the patch to resolve the issue.
NOTE: This patch will apply on both trunk and REL-1_10_PATCHES branch.