Yes, currently you can not directly debug a procedure with input parameters. This functionality is planned for SP6. To work around this in SP5, you must create a wrapper procedure(which contains no input parameters) which calls the procedure which you want to debug. In the CALL statement, you simply hardcode the values for the input parameters.
CREATE PROCEDURE debug_wrapper ( )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
READS SQL DATA AS
BEGIN
/*****************************
Write your procedure logic
*****************************/
call _SYS_BIC."your_package/your_procedure"( 'ThisValue'', ?);
END;
Then you set a breakpoint in the wrapper procedure on the CALL statement, and of course breakpoints in the procedure which you want to debug. Change to the debug perspective and make sure that the wrapper procedure is the procedure which is "in focus" in this perspective, simply click on the tab for the wrapper procedure. Then create the debug configuration and initiate the debug session. Once execution stops in the wrapper procedure, simply click the resume button to drop into the called procedure which you want to debug. Then debug as normal.
Cheers,
Rich Heilman