• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is it possible to stop Eclipse Debugger , just before the Condition , which gives Exception

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
Below is a sample program , which will give rise to an ArthemeticException .
Is it possible to stop Eclipse Debugger , just before the Condition , which might give rise to an Exception ??
Please suggest ,Means here i want my Debugger to stop at the line ,
int c = a / b;
because executing this line will give rise to ArthemeticException .



share your ideas , thanks in advance .
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Setting a breakpoint?!
Or do you expect that the debugger just stops before an exception occurs without really executing this line? (Which is not possible)
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your suggestion , i posted this question because once go through this link

http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/breakpoints/ref-hitcount_option.htm

and look into Exception Breakpoint Caught Exception

Please share with me , if anyone has found anything important on this .
 
What's that smell? Hey, sniff this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic