Class Breakpoint
java.lang.Object
com.inductiveautomation.snap.debug.Breakpoint
- All Implemented Interfaces:
- Comparable<Breakpoint>
Represents a debugger break point for a project file.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(Breakpoint aBP) Standard compare implementation.createAccessWatchpoint(String aClsName, String fieldId, boolean isAccess) Initializes a Watchpoint.booleanStandard equals implementation.Returns a descriptor string.getFile()Returns the file.Returns the file path.intgetLine()Returns the line index.intReturns the line number.Returns the method args (if method break point).Returns the method name (if method break point).getName()Returns the name.getType()Returns the type.inthashCode()Return hash code.initClassLine(String aClsName, int line) Initializes a LineBreakpoint.initException(String aClsName, boolean notifyCaught, boolean notifyUncaught) Initializes a ExceptionIntercept.initMethod(String aClsName, String aMethod, List theArgs) Initializes a MethodBreakpoint.initSourceLine(WebFile aFile, int aLine) Initializes a breakpoint for project, FilePath and Line.booleanReturns whether breakpoint is enabled.voidsetEnabled(boolean aValue) Sets whether breakpoint is enabled.protected voidSets the file.voidsetLine(int aLine) Sets the line number.toString()Standard toString implementation.
- 
Constructor Details- 
Breakpointpublic Breakpoint()
 
- 
- 
Method Details- 
initSourceLineInitializes a breakpoint for project, FilePath and Line.
- 
initClassLineInitializes a LineBreakpoint.
- 
initMethodInitializes a MethodBreakpoint. For example: initMethod("snap.app.App", "main", Collections.singletonList("java.lang.String[]"));
- 
initExceptionInitializes a ExceptionIntercept.
- 
createAccessWatchpointInitializes a Watchpoint.
- 
getNameReturns the name.
- 
getTypeReturns the type.
- 
getFileReturns the file.
- 
setFileSets the file.
- 
getFilePathReturns the file path.
- 
getLinepublic int getLine()Returns the line index.
- 
setLinepublic void setLine(int aLine) Sets the line number.
- 
getLineNumpublic int getLineNum()Returns the line number.
- 
getMethodNameReturns the method name (if method break point).
- 
getMethodArgsReturns the method args (if method break point).
- 
isEnabledpublic boolean isEnabled()Returns whether breakpoint is enabled.
- 
setEnabledpublic void setEnabled(boolean aValue) Sets whether breakpoint is enabled.
- 
getDescriptorReturns a descriptor string.
- 
compareToStandard compare implementation.- Specified by:
- compareToin interface- Comparable<Breakpoint>
 
- 
hashCodepublic int hashCode()Return hash code.
- 
equalsStandard equals implementation.
- 
toStringStandard toString implementation.
 
-