How to avoid exception breakpoint inside my reference assembly ?

  • Thread starter Thread starter Bruce
  • Start date Start date
B

Bruce

I have a reference assembly that I wrote. The assembly can throw
exceptions. I am handling these exceptions but, when running my code
from VB, VB still insists on setting a breakpoint where the exception is
being thrown inside the assembly.

Is there anyway to avoid this? If so how?
 
Bruce,

Put off the breakpoint outside your debugging action.
(I assume it is an ASPNET project)

Cor
 
What do you mean by "put off"?

I am not setting this breakpoint. VB is automatically setting it at the
point where the exception is being thrown.

Bruce
 
Bruce,
It sounds like you have the "Break when an exception is Thrown" option
turned on.

Use "Debug - Exceptions" to change this option. On the "Common Language
Runtime Exceptions" node check the "Thrown" checkbox if you want to break on
all exceptions, uncheck the checkbox if you don't.

Most of the time I prefer this option to be off, once in a while its helpful
to have it on. For example when debugging my exception handlers themselves.
 
Doh,

That can it be, I knew it and I forgot it. I would not have thougth that
about this one.
Greath Jay.

Cor

Jay B. Harlow said:
Bruce,
It sounds like you have the "Break when an exception is Thrown" option
turned on.

Use "Debug - Exceptions" to change this option. On the "Common Language
Runtime Exceptions" node check the "Thrown" checkbox if you want to break
on all exceptions, uncheck the checkbox if you don't.

Most of the time I prefer this option to be off, once in a while its
helpful to have it on. For example when debugging my exception handlers
themselves.
 
Jay said:
Bruce,
It sounds like you have the "Break when an exception is Thrown" option
turned on.

Use "Debug - Exceptions" to change this option. On the "Common Language
Runtime Exceptions" node check the "Thrown" checkbox if you want to
break on all exceptions, uncheck the checkbox if you don't.

Most of the time I prefer this option to be off, once in a while its
helpful to have it on. For example when debugging my exception handlers
themselves.

Thanks they were all set to "User Defined"

I unchecked them an it seems to have solved the problem. Did I do the
correct thing?
 
Bruce,
I unchecked them an it seems to have solved the problem. Did I do the
correct thing?
If it gives you the results you expect, yes you did...
 
Back
Top