I studied how to debug the Stored Procedure or function under Toad and saw the corresponding menu under Toad before, but I never knew how to use it. For details, please refer to the article:
Debugging PL/SQL, now available for everyone!
Here’s a case of how debugging in Toad works:

The test code for this Case:
CREATE OR REPLACE PROCEDURE APPS.swapn (num_one IN OUT NUMBER, num_two IN OUT NUMBER) IS
temp_num NUMBER;
BEGIN
temp_num := num_one;
num_one := num_two;
num_two := temp_num ;
END;

On the breakpoint

Be sure to compile your Procedure
first

Run in Debug (most of the buttons in the Debug menu are grayed out if you don’t compile the Stored Procedure)

Before
is debugged, set the values of input parameters
will stop at the break point, you can see the Watches output window, variable value changes


Debugging PL/SQL, now available for everyone!
Here’s a case of how debugging in Toad works:

The test code for this Case:
CREATE OR REPLACE PROCEDURE APPS.swapn (num_one IN OUT NUMBER, num_two IN OUT NUMBER) IS
temp_num NUMBER;
BEGIN
temp_num := num_one;
num_one := num_two;
num_two := temp_num ;
END;

On the breakpoint

Be sure to compile your Procedure
first

Run in Debug (most of the buttons in the Debug menu are grayed out if you don’t compile the Stored Procedure)

Before





Read More:
- How to call stored procedure in Hibernate
- DB2, create stored procedure error, sqlcode = – 104, sqlstate = 42601, PSM_ semicolon
- DB2 timed task execution stored procedure cannot complete scheduler thread’s initialization
- Can’t initialize OCI. Error – 1 appears in toad for Oracle
- Error debug in box2d createfixture Error:R6025 pure Virtual function call solution
- Clear the user name and password stored in GIT
- How to Debug ‘The System cannot Execute the specified program’ message.
- How to express ln function in MATLAB?
- Abnormal crash of APP startup — pointer being free was not allocated * * set a breakpoint in malloc_ error_ break to debug
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- How to use C + + function pointer array
- Runtime error 5 Invalid procedure call or argument
- SQL Server calls Database Mail to send mail error: Msg 229, Level 14, State 5, Procedure sp_send_dbmail, Line 1 EXECUTE
- Information contained in Debug Assertion Failed of Microsoft Visual C++ Runtime Library
- How to Use the Reverse() Function
- Using curl to generate gnutls_ Handshake() failed: error in the pull function or gnutls recv error: error in the pull function
- DLL load failed: The specified procedure could not be found
- How to use Python split() function (split array)
- Error c2064: term does not evaluate to a function in VC