This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Why doesn't Netbeans debugger stop on runtime exceptions? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Why doesn Watch "Why doesn New topic
Author

Why doesn't Netbeans debugger stop on runtime exceptions?

Luigi Plinge
Ranch Hand

Joined: Jan 06, 2011
Posts: 441

If I enable Tools > Options > Miscellaneous > Java Debugger > Stop on uncaught exceptions, I would expect Netbeans to stop on an uncaught exception, but it doesn't.

e.g.

throws an ArithmeticException but the debugger does not stop. Or
throws an ArrayIndexOutOfBounds error, but again the debugger doesn't stop, so I can't see the variable values at the point of the exception.

Does anyone have any idea why this might be and how I can fix it?

I tried the same examples in Eclipse and the debugger there stopped as expected, so I might have to switch IDEs if I can't work this out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why doesn't Netbeans debugger stop on runtime exceptions?
 
Similar Threads
Inheriting exceptions: a compiler intelligence question
Overriding doubt
Employee class - Abastract Vs Interface
Something that i dont understand : Passing Objects as elements at the end of a list
Javac versus (Netbeans +Javac)