public abstract class XDebuggerUtil
extends java.lang.Object
Constructor and Description |
---|
XDebuggerUtil() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canPutBreakpointAt(Project project,
VirtualFile file,
int line) |
abstract XExpression |
createExpression(java.lang.String text,
Language language,
java.lang.String custom,
EvaluationMode mode) |
abstract XSourcePosition |
createPosition(VirtualFile file,
int line)
Create
XSourcePosition instance by line number |
abstract XSourcePosition |
createPosition(VirtualFile file,
int line,
int column)
Create
XSourcePosition instance by line and column number |
abstract XSourcePosition |
createPositionByElement(PsiElement element) |
abstract XSourcePosition |
createPositionByOffset(VirtualFile file,
int offset)
Create
XSourcePosition instance by line number |
abstract void |
disableValueLookup(Editor editor)
Disable value lookup in specified editor
|
abstract <T extends XBreakpointType> |
findBreakpointType(java.lang.Class<T> typeClass) |
abstract PsiElement |
findContextElement(VirtualFile virtualFile,
int offset,
Project project,
boolean checkXml) |
abstract <T extends XDebuggerSettings<?>> |
getDebuggerSettings(java.lang.Class<T> aClass) |
abstract <B extends XBreakpoint<?>> |
getDefaultBreakpointComparator(XBreakpointType<B,?> type) |
abstract <P extends XBreakpointProperties> |
getDefaultLineBreakpointComparator() |
abstract <B extends XLineBreakpoint<?>> |
getGroupingByFileRule() |
abstract <B extends XLineBreakpoint<?>> |
getGroupingByFileRuleAsList() |
static XDebuggerUtil |
getInstance() |
abstract XLineBreakpointType<?>[] |
getLineBreakpointTypes() |
abstract XValueContainer |
getValueContainer(DataContext dataContext) |
abstract void |
iterateLine(Project project,
Document document,
int line,
Processor<? super PsiElement> processor)
Process all
PsiElement s on the specified line |
abstract void |
logStack(XSuspendContext suspendContext,
XDebugSession session) |
abstract void |
removeBreakpoint(Project project,
XBreakpoint<?> breakpoint) |
void |
toggleLineBreakpoint(Project project,
VirtualFile file,
int line) |
abstract void |
toggleLineBreakpoint(Project project,
VirtualFile file,
int line,
boolean temporary) |
<P extends XBreakpointProperties> |
toggleLineBreakpoint(Project project,
XLineBreakpointType<P> type,
VirtualFile file,
int line) |
abstract <P extends XBreakpointProperties> |
toggleLineBreakpoint(Project project,
XLineBreakpointType<P> type,
VirtualFile file,
int line,
boolean temporary) |
public static XDebuggerUtil getInstance()
public abstract XLineBreakpointType<?>[] getLineBreakpointTypes()
public void toggleLineBreakpoint(Project project, VirtualFile file, int line)
public abstract void toggleLineBreakpoint(Project project, VirtualFile file, int line, boolean temporary)
public abstract boolean canPutBreakpointAt(Project project, VirtualFile file, int line)
public <P extends XBreakpointProperties> void toggleLineBreakpoint(Project project, XLineBreakpointType<P> type, VirtualFile file, int line)
public abstract <P extends XBreakpointProperties> void toggleLineBreakpoint(Project project, XLineBreakpointType<P> type, VirtualFile file, int line, boolean temporary)
public abstract void removeBreakpoint(Project project, XBreakpoint<?> breakpoint)
public abstract <T extends XBreakpointType> T findBreakpointType(java.lang.Class<T> typeClass)
public abstract XSourcePosition createPosition(VirtualFile file, int line)
XSourcePosition
instance by line numberfile
- fileline
- 0-based line numberpublic abstract XSourcePosition createPosition(VirtualFile file, int line, int column)
XSourcePosition
instance by line and column numberfile
- fileline
- 0-based line numbercolumn
- 0-based column numberpublic abstract XSourcePosition createPositionByOffset(VirtualFile file, int offset)
XSourcePosition
instance by line numberfile
- fileoffset
- offset from the beginning of filepublic abstract XSourcePosition createPositionByElement(PsiElement element)
public abstract <B extends XLineBreakpoint<?>> XBreakpointGroupingRule<B,?> getGroupingByFileRule()
public abstract <B extends XLineBreakpoint<?>> java.util.List<XBreakpointGroupingRule<B,?>> getGroupingByFileRuleAsList()
public abstract <B extends XBreakpoint<?>> java.util.Comparator<B> getDefaultBreakpointComparator(XBreakpointType<B,?> type)
public abstract <P extends XBreakpointProperties> java.util.Comparator<XLineBreakpoint<P>> getDefaultLineBreakpointComparator()
public abstract <T extends XDebuggerSettings<?>> T getDebuggerSettings(java.lang.Class<T> aClass)
public abstract XValueContainer getValueContainer(DataContext dataContext)
public abstract void iterateLine(Project project, Document document, int line, Processor<? super PsiElement> processor)
PsiElement
s on the specified lineproject
- projectdocument
- documentline
- 0-based line numberprocessor
- processorpublic abstract void disableValueLookup(Editor editor)
public abstract PsiElement findContextElement(VirtualFile virtualFile, int offset, Project project, boolean checkXml)
public abstract XExpression createExpression(java.lang.String text, Language language, java.lang.String custom, EvaluationMode mode)
public abstract void logStack(XSuspendContext suspendContext, XDebugSession session)