/** * tests that a breakpoint is hit with multiple inclusion filters set * * @throws Exception */ public void testMultiInclusiveScopedExceptionHit() throws Exception { String typeName = "ThrowsNPE"; IJavaExceptionBreakpoint ex = createExceptionBreakpoint("java.lang.NullPointerException", true, false); ex.setInclusionFilters(new String[] {"ThrowsNPE", "Breakpoints"}); IJavaThread thread = null; try { thread = launchToBreakpoint(typeName); assertNotNull("Did not suspend", thread); assertEquals("Should have suspended at NPE", ex, thread.getBreakpoints()[0]); ex.delete(); } finally { terminateAndRemove(thread); removeAllBreakpoints(); } }