Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Exception breakpoints
Exception breakpoints [message #2163] Wed, 23 April 2003 01:24 Go to next message
Eclipse UserFriend
Originally posted by: anders_biehl.yahoo.com

Hi,

I added exception breakpoints for java.io.IOException and now the program
stops constantly in library-methods. How do I turn it off again? Un-checking
the check-boxes doesn't seem to work. And the help only tells how to *set*
the breakpoints.


Thanks
Anders
Re: Exception breakpoints [message #2254 is a reply to message #2163] Wed, 23 April 2003 03:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: genadyb.inter.net.il

You can limit the scope of the breakpoint to occur only in your code.
Check the breakpoint's properties. (Window->Show View->Breakpoints?)

anders biehl wrote:
> Hi,
>
> I added exception breakpoints for java.io.IOException and now the program
> stops constantly in library-methods. How do I turn it off again? Un-checking
> the check-boxes doesn't seem to work. And the help only tells how to *set*
> the breakpoints.
>
>
> Thanks
> Anders
>
>
Re: Exception breakpoints [message #2460 is a reply to message #2254] Wed, 23 April 2003 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Another option:
When you suspend in a location you do not wish to suspend, select the thread
in the Debug view and use the context menu > "Exclude Exception Location".
This limits the scope of the exception breakpoint to not stop in that
location.

HTH
Darins

"Genady" <genadyb@inter.net.il> wrote in message
news:b85ft8$ib1$1@rogue.oti.com...
> You can limit the scope of the breakpoint to occur only in your code.
> Check the breakpoint's properties. (Window->Show View->Breakpoints?)
>
> anders biehl wrote:
> > Hi,
> >
> > I added exception breakpoints for java.io.IOException and now the
program
> > stops constantly in library-methods. How do I turn it off again?
Un-checking
> > the check-boxes doesn't seem to work. And the help only tells how to
*set*
> > the breakpoints.
> >
> >
> > Thanks
> > Anders
> >
> >
>
Re: Exception breakpoints [message #5640 is a reply to message #2460] Fri, 25 April 2003 16:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: anders_biehl.yahoo.com

Thanks for both of the answers. I never used the breakpoints view before.
Very useful though.

-A

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:b869un$98m$1@rogue.oti.com...
> Another option:
> When you suspend in a location you do not wish to suspend, select the
thread
> in the Debug view and use the context menu > "Exclude Exception
Location".
> This limits the scope of the exception breakpoint to not stop in that
> location.
>
> HTH
> Darins
>
> "Genady" <genadyb@inter.net.il> wrote in message
> news:b85ft8$ib1$1@rogue.oti.com...
> > You can limit the scope of the breakpoint to occur only in your code.
> > Check the breakpoint's properties. (Window->Show View->Breakpoints?)
> >
> > anders biehl wrote:
> > > Hi,
> > >
> > > I added exception breakpoints for java.io.IOException and now the
> program
> > > stops constantly in library-methods. How do I turn it off again?
> Un-checking
> > > the check-boxes doesn't seem to work. And the help only tells how to
> *set*
> > > the breakpoints.
> > >
> > >
> > > Thanks
> > > Anders
> > >
> > >
> >
>
>
Re: Exception breakpoints [message #6438 is a reply to message #5640] Sat, 26 April 2003 05:05 Go to previous message
Eclipse UserFriend
Originally posted by: genadyb.inter.net.il

I also opened a bug report requesting similar behavior (restricting
breakpoints based on the callers stack)
http://bugs.eclipse.org/bugs/show_bug.cgi?id=36804

Genady

Anders Biehl wrote:
> Thanks for both of the answers. I never used the breakpoints view before.
> Very useful though.
>
> -A
>
> "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
> news:b869un$98m$1@rogue.oti.com...
>
>>Another option:
>>When you suspend in a location you do not wish to suspend, select the
>
> thread
>
>>in the Debug view and use the context menu > "Exclude Exception
>
> Location".
>
>>This limits the scope of the exception breakpoint to not stop in that
>>location.
>>
>>HTH
>>Darins
>>
>>"Genady" <genadyb@inter.net.il> wrote in message
>>news:b85ft8$ib1$1@rogue.oti.com...
>>
>>>You can limit the scope of the breakpoint to occur only in your code.
>>>Check the breakpoint's properties. (Window->Show View->Breakpoints?)
>>>
>>>anders biehl wrote:
>>>
>>>>Hi,
>>>>
>>>>I added exception breakpoints for java.io.IOException and now the
>>
>>program
>>
>>>>stops constantly in library-methods. How do I turn it off again?
>>
>>Un-checking
>>
>>>>the check-boxes doesn't seem to work. And the help only tells how to
>>
>>*set*
>>
>>>>the breakpoints.
>>>>
>>>>
>>>>Thanks
>>>>Anders
>>>>
>>>>
>>>
>>
>
>
Previous Topic:Newbie Error: Unable to Read Workbench State
Next Topic:Multiple Consoles
Goto Forum:
  


Current Time: Wed May 07 11:18:15 EDT 2025

Powered by FUDForum. Page generated in 0.02721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top