Package editor.debugger
Class Breakpoint
- java.lang.Object
-
- editor.debugger.Breakpoint
-
- All Implemented Interfaces:
IJsonIO
- Direct Known Subclasses:
RunToCursorBreakpoint
public class Breakpoint extends java.lang.Object implements IJsonIO
-
-
Field Summary
Fields Modifier and Type Field Description private boolean_activeprivate boolean_bRunScriptprivate boolean_caughtExceptionprivate LocklessLazyVar<DebuggerExpression>_debuggerExprprivate LocklessLazyVar<DebuggerExpression>_debuggerRunScriptprivate java.lang.String_exprprivate java.lang.String_fileNameprivate java.lang.String_fqnprivate java.lang.String_fqnDeclaringprivate java.lang.String_immediateClassprivate int_lineprivate int_offsetprivate java.lang.String_runScriptprivate boolean_staticprivate boolean_suspendprivate boolean_uncaughtExceptionstatic LocklessLazyVar<Breakpoint>ANY_EXCEPTION
-
Constructor Summary
Constructors Modifier Constructor Description privateBreakpoint()Breakpoint(java.lang.String fqnException, boolean notifyCaught, boolean notifyUncaught)Breakpoint(java.lang.String fqnException, boolean notifyCaught, boolean notifyUncaught, boolean staticBp)Breakpoint(java.lang.String fqn, java.lang.String fqnDeclaring, int line)Breakpoint(java.lang.String fqn, java.lang.String fqnDeclaring, int line, java.lang.String expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancondition()java.lang.StringgetDeclaringFqn()java.lang.StringgetDeclaringFqn_Java()java.lang.StringgetExpression()private java.lang.StringgetFileName()java.lang.StringgetFqn()intgetLine()intgetOffset()java.lang.StringgetRunScript()java.lang.StringgetTitle()booleanisActive()booleanisActiveWhenMuted()booleanisCaughtException()booleanisExceptionBreakpoint()booleanisLineBreakpoint()booleanisRunScriptOn()booleanisStatic()booleanisSuspend()booleanisTemporary()booleanisUncaughtException()private booleanlocate()private java.lang.StringmakeJavaName(java.lang.String fqn, java.lang.String fqnDeclaring)private booleanpromptToSuspend()voidsetActive(boolean active)voidsetCaughtException(boolean caughtException)voidsetExpression(java.lang.String expr)voidsetRunScript(java.lang.String runScript)voidsetRunScriptOn(boolean bRunScript)voidsetStatic(boolean aStatic)voidsetSuspend(boolean suspend)voidsetUncaughtException(boolean uncaughtException)
-
-
-
Field Detail
-
ANY_EXCEPTION
public static final LocklessLazyVar<Breakpoint> ANY_EXCEPTION
-
_fqn
private java.lang.String _fqn
-
_fqnDeclaring
private java.lang.String _fqnDeclaring
-
_line
private int _line
-
_expr
private java.lang.String _expr
-
_active
private boolean _active
-
_static
private boolean _static
-
_suspend
private boolean _suspend
-
_bRunScript
private boolean _bRunScript
-
_runScript
private java.lang.String _runScript
-
_caughtException
private boolean _caughtException
-
_uncaughtException
private boolean _uncaughtException
-
_offset
private transient int _offset
-
_fileName
private transient java.lang.String _fileName
-
_immediateClass
private transient java.lang.String _immediateClass
-
_debuggerExpr
private transient LocklessLazyVar<DebuggerExpression> _debuggerExpr
-
_debuggerRunScript
private transient LocklessLazyVar<DebuggerExpression> _debuggerRunScript
-
-
Constructor Detail
-
Breakpoint
public Breakpoint(java.lang.String fqnException, boolean notifyCaught, boolean notifyUncaught)
-
Breakpoint
public Breakpoint(java.lang.String fqnException, boolean notifyCaught, boolean notifyUncaught, boolean staticBp)
-
Breakpoint
public Breakpoint(java.lang.String fqn, java.lang.String fqnDeclaring, int line)
-
Breakpoint
public Breakpoint(java.lang.String fqn, java.lang.String fqnDeclaring, int line, java.lang.String expr)
-
Breakpoint
private Breakpoint()
-
-
Method Detail
-
makeJavaName
private java.lang.String makeJavaName(java.lang.String fqn, java.lang.String fqnDeclaring)
-
isLineBreakpoint
public boolean isLineBreakpoint()
-
isExceptionBreakpoint
public boolean isExceptionBreakpoint()
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
getTitle
public java.lang.String getTitle()
-
getFileName
private java.lang.String getFileName()
-
getFqn
public java.lang.String getFqn()
-
getDeclaringFqn
public java.lang.String getDeclaringFqn()
-
getDeclaringFqn_Java
public java.lang.String getDeclaringFqn_Java()
-
getLine
public int getLine()
-
getOffset
public int getOffset()
-
getExpression
public java.lang.String getExpression()
-
setExpression
public void setExpression(java.lang.String expr)
-
isActiveWhenMuted
public boolean isActiveWhenMuted()
-
isTemporary
public boolean isTemporary()
-
condition
public boolean condition()
-
promptToSuspend
private boolean promptToSuspend()
-
locate
private boolean locate()
-
isStatic
public boolean isStatic()
-
setStatic
public void setStatic(boolean aStatic)
-
isSuspend
public boolean isSuspend()
-
setSuspend
public void setSuspend(boolean suspend)
-
isRunScriptOn
public boolean isRunScriptOn()
-
setRunScriptOn
public void setRunScriptOn(boolean bRunScript)
-
getRunScript
public java.lang.String getRunScript()
-
setRunScript
public void setRunScript(java.lang.String runScript)
-
isCaughtException
public boolean isCaughtException()
-
setCaughtException
public void setCaughtException(boolean caughtException)
-
isUncaughtException
public boolean isUncaughtException()
-
setUncaughtException
public void setUncaughtException(boolean uncaughtException)
-
-