public class ExceptionBreakpoint extends Breakpoint<JavaExceptionBreakpointProperties>
LocatableEventRequestor.EventProcessingException
Modifier and Type | Field and Description |
---|---|
static Key<ExceptionBreakpoint> |
CATEGORY |
DATA_KEY, myCachedVerifiedState, myProject
Modifier | Constructor and Description |
---|---|
protected |
ExceptionBreakpoint(Project project,
java.lang.String qualifiedName,
java.lang.String packageName,
XBreakpoint<JavaExceptionBreakpointProperties> xBreakpoint) |
|
ExceptionBreakpoint(Project project,
XBreakpoint<JavaExceptionBreakpointProperties> xBreakpoint) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
calculateEventClass(EvaluationContextImpl context,
com.sun.jdi.event.LocatableEvent event) |
void |
createRequest(DebugProcessImpl debugProcess)
Request for creating all needed JPDA requests in the specified VM
|
boolean |
evaluateCondition(EvaluationContextImpl context,
com.sun.jdi.event.LocatableEvent event) |
Key<? extends ExceptionBreakpoint> |
getCategory() |
java.lang.String |
getClassName() |
java.lang.String |
getDisplayName() |
PsiElement |
getEvaluationElement() |
java.lang.String |
getEventMessage(com.sun.jdi.event.LocatableEvent event)
returns UI representation
|
javax.swing.Icon |
getIcon() |
java.lang.String |
getPackageName() |
PsiClass |
getPsiClass() |
protected static java.lang.String |
getReadNoClassName() |
protected com.sun.jdi.ObjectReference |
getThisObject(SuspendContextImpl context,
com.sun.jdi.event.LocatableEvent event) |
boolean |
isValid() |
void |
processClassPrepare(DebugProcess process,
com.sun.jdi.ReferenceType refType)
Request for creating all needed JPDA requests in the specified VM
|
void |
readExternal(Element parentNode) |
void |
reload() |
void |
setCatchClassExclusionFilters(ClassFilter[] filters) |
void |
setCatchClassFilters(ClassFilter[] filters) |
void |
setCatchFiltersEnabled(boolean enabled) |
addInstanceFilter, createOrWaitPrepare, createOrWaitPrepare, customizeRenderer, fireBreakpointChanged, getClassExclusionFilters, getClassFilters, getCondition, getCountFilter, getInstanceFilters, getLogMessage, getProject, getProperties, getShortClassName, getShortName, getStackTrace, getSuspendPolicy, getXBreakpoint, isClassFiltersEnabled, isConditionEnabled, isCountFilterEnabled, isEnabled, isInstanceFiltersEnabled, isLogEnabled, isLogExpressionEnabled, isLogStack, isObsolete, isRemoveAfterHit, isSuspend, markVerified, processLocatableEvent, setClassExclusionFilters, setClassFilters, setClassFiltersEnabled, setCondition, setCountFilter, setCountFilterEnabled, setEnabled, setInstanceFilters, setInstanceFiltersEnabled, setLogEnabled, setRemoveAfterHit, setSuspendPolicy, shouldCreateRequest, shouldCreateRequest, typeMatchesClassFilters, updateUI
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
track
public static final Key<ExceptionBreakpoint> CATEGORY
public ExceptionBreakpoint(Project project, XBreakpoint<JavaExceptionBreakpointProperties> xBreakpoint)
protected ExceptionBreakpoint(Project project, java.lang.String qualifiedName, java.lang.String packageName, XBreakpoint<JavaExceptionBreakpointProperties> xBreakpoint)
public Key<? extends ExceptionBreakpoint> getCategory()
getCategory
in class Breakpoint<JavaExceptionBreakpointProperties>
public java.lang.String getClassName()
getClassName
in class Breakpoint<JavaExceptionBreakpointProperties>
public java.lang.String getPackageName()
getPackageName
in class Breakpoint<JavaExceptionBreakpointProperties>
public PsiClass getPsiClass()
getPsiClass
in class Breakpoint<JavaExceptionBreakpointProperties>
public java.lang.String getDisplayName()
getDisplayName
in class Breakpoint<JavaExceptionBreakpointProperties>
public javax.swing.Icon getIcon()
getIcon
in class Breakpoint<JavaExceptionBreakpointProperties>
public void reload()
reload
in class Breakpoint<JavaExceptionBreakpointProperties>
public void createRequest(DebugProcessImpl debugProcess)
Breakpoint
createRequest
in class Breakpoint<JavaExceptionBreakpointProperties>
debugProcess
- the requesting processpublic void processClassPrepare(DebugProcess process, com.sun.jdi.ReferenceType refType)
Breakpoint
processClassPrepare
in interface ClassPrepareRequestor
processClassPrepare
in class Breakpoint<JavaExceptionBreakpointProperties>
process
- the requesting processprotected java.lang.String calculateEventClass(EvaluationContextImpl context, com.sun.jdi.event.LocatableEvent event) throws EvaluateException
calculateEventClass
in class Breakpoint<JavaExceptionBreakpointProperties>
EvaluateException
protected com.sun.jdi.ObjectReference getThisObject(SuspendContextImpl context, com.sun.jdi.event.LocatableEvent event) throws EvaluateException
getThisObject
in class Breakpoint<JavaExceptionBreakpointProperties>
EvaluateException
public java.lang.String getEventMessage(com.sun.jdi.event.LocatableEvent event)
Breakpoint
getEventMessage
in class Breakpoint<JavaExceptionBreakpointProperties>
public boolean evaluateCondition(EvaluationContextImpl context, com.sun.jdi.event.LocatableEvent event) throws EvaluateException
evaluateCondition
in class Breakpoint<JavaExceptionBreakpointProperties>
EvaluateException
public boolean isValid()
isValid
in class Breakpoint<JavaExceptionBreakpointProperties>
public PsiElement getEvaluationElement()
getEvaluationElement
in class Breakpoint<JavaExceptionBreakpointProperties>
public void readExternal(Element parentNode) throws InvalidDataException
readExternal
in class Breakpoint<JavaExceptionBreakpointProperties>
InvalidDataException
public void setCatchFiltersEnabled(boolean enabled)
public void setCatchClassFilters(ClassFilter[] filters)
public void setCatchClassExclusionFilters(ClassFilter[] filters)
protected static java.lang.String getReadNoClassName()