# Toad Debugger Breaking

**URL:** <https://forums.toadworld.com/t/toad-debugger-breaking/9060>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [December 14, 2009, 12:57pm UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060 "2009-12-14T12:57:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [December 14, 2009, 12:57pm UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/1 "2009-12-14T12:57:12Z")

</div>

All,

I’m running Toad for Oracle Version 10.1.1.8 and have the debugger  
setup to _not_ break on exceptions. Back in Version 9.7 this worked  
great. Now in the current version I am getting the debugger breaking  
on all exceptions. The only difference I notice between having the  
break on exception checkbox checked and not checked is that when  
checked, I get an alert stating that an exception was encountered.  
When it’s not checked, the debugger doesn’t show the alert, but does  
stop at the point of the exception – which is in this case handled.  
What do I need to do to get this to not break on all exceptions? Is  
there another switch I need to set to get to the behavior I want?

–  
Rumpi Gravenstein

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [December 14, 2009, 3:26pm UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/2 "2009-12-14T15:26:37Z")

</div>

I have some more information. If I select run to cursor, the process  
behaves as I would like. When I select step over, exceptions cause a  
break to occur.

On Mon, Dec 14, 2009 at 1:57 PM, Rumpi Gravenstein wrote:

> All,
> 
> I'm running Toad for Oracle Version 10.1.1.8 and have the debugger  
> setup to _not_ break on exceptions. Back in Version 9.7 this worked  
> great. Now in the current version I am getting the debugger breaking  
> on all exceptions. The only difference I notice between having the  
> break on exception checkbox checked and not checked is that when  
> checked, I get an alert stating that an exception was encountered.  
> When it's not checked, the debugger doesn't show the alert, but does  
> stop at the point of the exception -- which is in this case handled.  
> What do I need to do to get this to not break on all exceptions? Is  
> there another switch I need to set to get to the behavior I want?
> 
> --  
> Rumpi Gravenstein

--  
Rumpi Gravenstein

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [December 16, 2009, 7:11am UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/3 "2009-12-16T07:11:00Z")

</div>

bump…

---------- Forwarded message ----------

---

<div class="post-metadata">

**Author:** ![GTDG](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gtdg/32/140_2.png) [@GTDG](https://forums.toadworld.com/u/GTDG)\
**Post date:** [December 16, 2009, 7:36am UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/4 "2009-12-16T07:36:27Z")

</div>

Rumpi,  
I’m not seeing this behavior. What version of Oracle are your running on? Can you create a sample proc that duplicates the issue?

Greg

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [December 16, 2009, 10:07am UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/5 "2009-12-16T10:07:54Z")

</div>



---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [December 29, 2009, 1:25pm UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/6 "2009-12-29T13:25:49Z")

</div>



---

<div class="post-metadata">

**Author:** ![markf](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@markf](https://forums.toadworld.com/u/markf)\
**Post date:** [May 2, 2011, 9:39am UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/7 "2011-05-02T09:39:53Z")

</div>

I see this thread is quite old, but I have this problem too.

TOAD 10.5.0.41  
Oracle 10.2.0.5.0

Did you find a fix?

Thanks,  
Mark.

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forums.toadworld.com/u/Guest)\
**Post date:** [May 2, 2011, 11:54am UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/8 "2011-05-02T11:54:44Z")

</div>

I still have this issue. Also, no response from Quest staff beyond a request  
for a test case which I provided.

On Mon, May 2, 2011 at 10:39 AM, mark finegan  
wrote:

```
Message from: markf

```

I see this thread is quite old, but I have this problem too.

```
TOAD 10.5.0.41
Oracle 10.2.0.5.0

Did you find a fix? 

Thanks,
Mark.

```

* * *

```
Historical Messages

```

Author: mark finegan  
Date: Mon May 02 07:39:53 PDT 2011  
I see this thread is quite old, but I have this problem too.

```
TOAD 10.5.0.41
Oracle 10.2.0.5.0

Did you find a fix? 

Thanks,
Mark.

__

Author: Rumpi Gravenstein
Date: Tue Dec 29 11:25:49 PST 2009

__

Author: Rumpi Gravenstein
Date: Wed Dec 16 08:07:54 PST 2009

__

Author: Gregory Liss
Date: Wed Dec 16 05:36:27 PST 2009

```

Rumpi, I’m not seeing this behavior. What version of Oracle are your  
running on? Can you create a sample proc that duplicates the issue? Greg

```
__

Author: Rumpi Gravenstein
Date: Wed Dec 16 05:11:00 PST 2009
bump... ---------- Forwarded message ----------
__

Author: Rumpi Gravenstein
Date: Mon Dec 14 13:26:37 PST 2009
I have some more information. If I select run to cursor, the process behaves
as I would like. When I select step over, exceptions cause a break to occur.
On Mon, Dec 14, 2009 at 1:57 PM, Rumpi Gravenstein wrote: > All, >
> I'm running Toad for Oracle Version 10.1.1.8 and have the debugger
> setup to *not* break on exceptions. Back in Version 9.7 this worked
> great. Now in the current version I am getting the debugger breaking
> on all exceptions. The only difference I notice between having the
> break on exception checkbox checked and not checked is that when >
checked, I get an alert stating that an exception was encountered. > When
it's not checked, the debugger doesn't show the alert, but does >
stop at the point of the exception -- which is in this case handled. >
What do I need to do to get this to not break on all exceptions? Is >
there another switch I need to set to get to the behavior I want? > >
-- > Rumpi Gravenstein > -- Rumpi Gravenstein
__

Author: Rumpi Gravenstein
Date: Mon Dec 14 10:57:12 PST 2009

```

All, I’m running Toad for Oracle Version 10.1.1.8 and have the debugger  
setup to _not_ break on exceptions. Back in Version 9.7 this worked great.  
Now in the current version I am getting the debugger breaking on all  
exceptions. The only difference I notice between having the break on  
exception checkbox checked and not checked is that when checked, I get an  
alert stating that an exception was encountered. When it’s not checked,  
the debugger doesn’t show the alert, but does stop at the point of the  
exception – which is in this case handled. What do I need to do to get this  
to not break on all exceptions? Is there another switch I need to set to get  
to the behavior I want? – Rumpi Gravenstein

```
__
_______________________________________

```

–  
Rumpi Gravenstein

---

<div class="post-metadata">

**Author:** ![HillbillyToad](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/hillbillytoad/32/190_2.png) [@HillbillyToad](https://forums.toadworld.com/u/HillbillyToad)\
**Post date:** [May 2, 2011, 12:00pm UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/9 "2011-05-02T12:00:01Z")

</div>

You might want to open a support case with Quest. This board is informal, so to  
expect an answer to every question from a Quest person is a little unreasonable.

If you can provide the test case again, I’d be happy to try your scenario  
in v10.6 and v11 – assuming it’s a Toad issue and not an Oracle one.

---

<div class="post-metadata">

**Author:** ![HillbillyToad](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/hillbillytoad/32/190_2.png) [@HillbillyToad](https://forums.toadworld.com/u/HillbillyToad)\
**Post date:** [May 2, 2011, 12:14pm UTC](https://forums.toadworld.com/t/toad-debugger-breaking/9060/10 "2011-05-02T12:14:02Z")

</div>

When I run this program

CREATE PROCEDURE raise\_salary ( emp\_id NUMBER , amount NUMBER ) AS

curr\_sal NUMBER ;

BEGIN

SELECT sal INTO curr\_sal FROM emp WHERE empno = emp\_id ;

IF curr\_sal IS NULL THEN

/\* Issue user-defined error message. \*/

raise\_application\_error (- 20101 , ‘Salary is missing’ );

ELSE

UPDATE emp SET sal = curr\_sal + amount WHERE empno = emp\_id ;

END IF;

END raise\_salary ;

And run with emp with NULL for salary, it breaks on Exception when the break on  
exception option is enabled.

If I toggle that option off, and run again, it runs to completion and I get an  
ORA-20101 & ORA-06512

So for me, it works as expected.

This is 11.2.0.1 running Toad v10.6

Jeff
