views:

76

answers:

2

See this question on how to break on any exceptions.

I'm getting a million exceptions on startup. I've tried ignoring ClassNotFoundException, but it's no good, the IDE still seems to break on these (and other) exceptions.

So .. what's a decent configuration for this to catch only real exceptions caught from user code? (Ignore also any exception in jUnit, if applicable)

A: 
kd304
I tried tweaking it a few times yet failed.
ripper234
I'm not too familiar with IJ, I'm in a learning phase.
kd304
A: 

I was just messing with this earlier. Two ways to go:

1) Configure it to explicitly catch your exception, not "any exception" - if it's something like RuntimeException, this may not be filter-y enough. 2) Use the class results filter - this for whatever reason did NOT work for me. Ever.

James