aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Is it possible to stop Eclipse Debugger , just before the Condition , which gives Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Is it possible to stop Eclipse Debugger , just before the Condition , which gives Exception" Watch "Is it possible to stop Eclipse Debugger , just before the Condition , which gives Exception" New topic
Author

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

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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 .


Save India From Corruption - Anna Hazare.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

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

Joined: Apr 18, 2009
Posts: 2234

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 .
 
Consider Paul's rocket mass heater.
 
subject: Is it possible to stop Eclipse Debugger , just before the Condition , which gives Exception