This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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 .
 
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!