GO DIRECTLY TO
My Oracle Support Community
Oracle Technology Network
Java Developer Tool APIs
Java Platform Debugger Architecture (JPDA)
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Sep 1, 2011 12:39 PM by 878103
JDI/JPDA Event Filtering
Sep 1, 2011 12:39 PM
Currently Being Moderated
In JDI, there is the API to exclude events from processed events in JVM used by JPDA. This is done using:
1. addExclusionFilter(String) to exclude some pattern; e.g. addExclusionFilter("java.*")
2. addClassFilter(String) to include some pattern; e.g. addClassFilter("java.util.*")
Now, I need both. I need to exclude all events coming from "java.*" but I need to receive events from "java.util.Iterator".
Also, note that for instance java.util.Iterator is an interface implemented by some private class in java.util.AbstractList. How do we receive such events to java.util.Iterator?
When I used both methods, I actually receive events any more. Do you have an idea how to do that? Thanks in advance.
Track in Communications
- 10 points
- 5 points