# Debugging in TOAD 16.3

**URL:** <https://forums.toadworld.com/t/debugging-in-toad-16-3/57346>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [April 17, 2023, 7:59pm UTC](https://forums.toadworld.com/t/debugging-in-toad-16-3/57346 "2023-04-17T19:59:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlyw\_281](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@charlyw\_281](https://forums.toadworld.com/u/charlyw_281)\
**Post date:** [April 17, 2023, 7:59pm UTC](https://forums.toadworld.com/t/debugging-in-toad-16-3/57346/1 "2023-04-17T19:59:38Z")

</div>

Hello,

In prior exchanges, you were kind enough to explain and show how to debug my package through TOAD. I was using the Beta version but am now using the latest release.

I am accessing an Oracle 19c instance using an Oracle 19c client. The schema is being created with the "GRANT DEBUG CONNECT SESSION TO XXXX' privilege yet when I click on the bug icon I get ORA-0131 errors, twice. The "Set Parameters and Execute" dialog does come up and when I select the subprogram to execute, it does seem to execute correctly (still checking) but I am concerned regarding the ORA-01031 errors.

I apologize if it is something trivial that I am forgetting to do but can you provide some insight into what I am doing wrong. It had been working fine for a while (until I transitioned).

Thank you.  
Charly

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [April 17, 2023, 8:16pm UTC](https://forums.toadworld.com/t/debugging-in-toad-16-3/57346/2 "2023-04-17T20:16:06Z")

</div>

Hi Charly,

You said "The schema is being created with...".

Did you mean the schema that the package is in, or the user that you are logging in as? If these are different, the user that you are logging in as should have this privilege.

You'd also need the EXECUTE and DEBUG privileges on the package that you are debugging.

You can check that here:

 ![image](https://global.discourse-cdn.com/quest/original/2X/e/e8f00890a8f5bd0c16e36ea85819939573c67b6a.png)

Or, you can get the EXECUTE ANY PROCEDURE and DEBUG ANY PROCEDURE system privileges instead of grants on individual packages

-John

---

<div class="post-metadata">

**Author:** ![charlyw\_281](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@charlyw\_281](https://forums.toadworld.com/u/charlyw_281)\
**Post date:** [April 17, 2023, 8:46pm UTC](https://forums.toadworld.com/t/debugging-in-toad-16-3/57346/3 "2023-04-17T20:46:01Z")

</div>

As usual, much obliged.

Thank you.
