|
|
|
[
Permlink
| « Hide
]
Keith Lea - 26 Mar 06 00:31
The new Visual Studio breaks on every exception thrown, by default. This feature would be unreasonable in IDEA because it would break on exceptions thrown within JDK code, which the developer almost never cares about.
To me, an exception is interesting if it is either (1) generated in my project's code or (2) generated in library code and propagated into my project's code. The Exception Breakpoint feature would be much more useful to me if I could select packages (in my case, java., javax., and the subpackages of each) to which I could apply the rule "do not pause execution for exceptions that are both caught and handled entirely in these packages".
If an exception is raised by my project code, I would like the debugger to pause execution immediately. If an exception is raised in library code, it would be acceptable for the debugger to pause execution when exception propagation causes control to be passed from library code to my project's code. Wouldn't that be awesome? It's worth pointing out that this solution would also solve issue IDEA-12111 (http://www.jetbrains.net/jira/browse/IDEA-12111 |
|||||||||||||||||||||||||||||||||||||||||||||