Class Capabilities

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.Capabilities

public class Capabilities extends JSONBase
Information about the capabilities of a debug adapter.
  • Method Details

    • getSupportsConfigurationDoneRequest

      public Boolean getSupportsConfigurationDoneRequest()
      The debug adapter supports the 'configurationDone' request.
    • setSupportsConfigurationDoneRequest

      public Capabilities setSupportsConfigurationDoneRequest(Boolean supportsConfigurationDoneRequest)
    • getSupportsFunctionBreakpoints

      public Boolean getSupportsFunctionBreakpoints()
      The debug adapter supports function breakpoints.
    • setSupportsFunctionBreakpoints

      public Capabilities setSupportsFunctionBreakpoints(Boolean supportsFunctionBreakpoints)
    • getSupportsConditionalBreakpoints

      public Boolean getSupportsConditionalBreakpoints()
      The debug adapter supports conditional breakpoints.
    • setSupportsConditionalBreakpoints

      public Capabilities setSupportsConditionalBreakpoints(Boolean supportsConditionalBreakpoints)
    • getSupportsHitConditionalBreakpoints

      public Boolean getSupportsHitConditionalBreakpoints()
      The debug adapter supports breakpoints that break execution after a specified number of hits.
    • setSupportsHitConditionalBreakpoints

      public Capabilities setSupportsHitConditionalBreakpoints(Boolean supportsHitConditionalBreakpoints)
    • getSupportsEvaluateForHovers

      public Boolean getSupportsEvaluateForHovers()
      The debug adapter supports a (side effect free) evaluate request for data hovers.
    • setSupportsEvaluateForHovers

      public Capabilities setSupportsEvaluateForHovers(Boolean supportsEvaluateForHovers)
    • getExceptionBreakpointFilters

      public List<ExceptionBreakpointsFilter> getExceptionBreakpointFilters()
      Available filters or options for the setExceptionBreakpoints request.
    • setExceptionBreakpointFilters

      public Capabilities setExceptionBreakpointFilters(List<ExceptionBreakpointsFilter> exceptionBreakpointFilters)
    • getSupportsStepBack

      public Boolean getSupportsStepBack()
      The debug adapter supports stepping back via the 'stepBack' and 'reverseContinue' requests.
    • setSupportsStepBack

      public Capabilities setSupportsStepBack(Boolean supportsStepBack)
    • getSupportsSetVariable

      public Boolean getSupportsSetVariable()
      The debug adapter supports setting a variable to a value.
    • setSupportsSetVariable

      public Capabilities setSupportsSetVariable(Boolean supportsSetVariable)
    • getSupportsRestartFrame

      public Boolean getSupportsRestartFrame()
      The debug adapter supports restarting a frame.
    • setSupportsRestartFrame

      public Capabilities setSupportsRestartFrame(Boolean supportsRestartFrame)
    • getSupportsGotoTargetsRequest

      public Boolean getSupportsGotoTargetsRequest()
      The debug adapter supports the 'gotoTargets' request.
    • setSupportsGotoTargetsRequest

      public Capabilities setSupportsGotoTargetsRequest(Boolean supportsGotoTargetsRequest)
    • getSupportsStepInTargetsRequest

      public Boolean getSupportsStepInTargetsRequest()
      The debug adapter supports the 'stepInTargets' request.
    • setSupportsStepInTargetsRequest

      public Capabilities setSupportsStepInTargetsRequest(Boolean supportsStepInTargetsRequest)
    • getSupportsCompletionsRequest

      public Boolean getSupportsCompletionsRequest()
      The debug adapter supports the 'completions' request.
    • setSupportsCompletionsRequest

      public Capabilities setSupportsCompletionsRequest(Boolean supportsCompletionsRequest)
    • getCompletionTriggerCharacters

      public List<String> getCompletionTriggerCharacters()
      The set of characters that should trigger completion in a REPL. If not specified, the UI should assume the '.' character.
    • setCompletionTriggerCharacters

      public Capabilities setCompletionTriggerCharacters(List<String> completionTriggerCharacters)
    • getSupportsModulesRequest

      public Boolean getSupportsModulesRequest()
      The debug adapter supports the 'modules' request.
    • setSupportsModulesRequest

      public Capabilities setSupportsModulesRequest(Boolean supportsModulesRequest)
    • getAdditionalModuleColumns

      public List<ColumnDescriptor> getAdditionalModuleColumns()
      The set of additional module information exposed by the debug adapter.
    • setAdditionalModuleColumns

      public Capabilities setAdditionalModuleColumns(List<ColumnDescriptor> additionalModuleColumns)
    • getSupportedChecksumAlgorithms

      public List<String> getSupportedChecksumAlgorithms()
      Checksum algorithms supported by the debug adapter.
    • setSupportedChecksumAlgorithms

      public Capabilities setSupportedChecksumAlgorithms(List<String> supportedChecksumAlgorithms)
    • getSupportsRestartRequest

      public Boolean getSupportsRestartRequest()
      The debug adapter supports the 'restart' request. In this case a client should not implement 'restart' by terminating and relaunching the adapter but by calling the RestartRequest.
    • setSupportsRestartRequest

      public Capabilities setSupportsRestartRequest(Boolean supportsRestartRequest)
    • getSupportsExceptionOptions

      public Boolean getSupportsExceptionOptions()
      The debug adapter supports 'exceptionOptions' on the setExceptionBreakpoints request.
    • setSupportsExceptionOptions

      public Capabilities setSupportsExceptionOptions(Boolean supportsExceptionOptions)
    • getSupportsValueFormattingOptions

      public Boolean getSupportsValueFormattingOptions()
      The debug adapter supports a 'format' attribute on the stackTraceRequest, variablesRequest, and evaluateRequest.
    • setSupportsValueFormattingOptions

      public Capabilities setSupportsValueFormattingOptions(Boolean supportsValueFormattingOptions)
    • getSupportsExceptionInfoRequest

      public Boolean getSupportsExceptionInfoRequest()
      The debug adapter supports the 'exceptionInfo' request.
    • setSupportsExceptionInfoRequest

      public Capabilities setSupportsExceptionInfoRequest(Boolean supportsExceptionInfoRequest)
    • getSupportTerminateDebuggee

      public Boolean getSupportTerminateDebuggee()
      The debug adapter supports the 'terminateDebuggee' attribute on the 'disconnect' request.
    • setSupportTerminateDebuggee

      public Capabilities setSupportTerminateDebuggee(Boolean supportTerminateDebuggee)
    • getSupportsDelayedStackTraceLoading

      public Boolean getSupportsDelayedStackTraceLoading()
      The debug adapter supports the delayed loading of parts of the stack, which requires that both the 'startFrame' and 'levels' arguments and the 'totalFrames' result of the 'StackTrace' request are supported.
    • setSupportsDelayedStackTraceLoading

      public Capabilities setSupportsDelayedStackTraceLoading(Boolean supportsDelayedStackTraceLoading)
    • getSupportsLoadedSourcesRequest

      public Boolean getSupportsLoadedSourcesRequest()
      The debug adapter supports the 'loadedSources' request.
    • setSupportsLoadedSourcesRequest

      public Capabilities setSupportsLoadedSourcesRequest(Boolean supportsLoadedSourcesRequest)
    • getSupportsLogPoints

      public Boolean getSupportsLogPoints()
      The debug adapter supports logpoints by interpreting the 'logMessage' attribute of the SourceBreakpoint.
    • setSupportsLogPoints

      public Capabilities setSupportsLogPoints(Boolean supportsLogPoints)
    • getSupportsTerminateThreadsRequest

      public Boolean getSupportsTerminateThreadsRequest()
      The debug adapter supports the 'terminateThreads' request.
    • setSupportsTerminateThreadsRequest

      public Capabilities setSupportsTerminateThreadsRequest(Boolean supportsTerminateThreadsRequest)
    • getSupportsSetExpression

      public Boolean getSupportsSetExpression()
      The debug adapter supports the 'setExpression' request.
    • setSupportsSetExpression

      public Capabilities setSupportsSetExpression(Boolean supportsSetExpression)
    • getSupportsTerminateRequest

      public Boolean getSupportsTerminateRequest()
      The debug adapter supports the 'terminate' request.
    • setSupportsTerminateRequest

      public Capabilities setSupportsTerminateRequest(Boolean supportsTerminateRequest)
    • getSupportsDataBreakpoints

      public Boolean getSupportsDataBreakpoints()
      The debug adapter supports data breakpoints.
    • setSupportsDataBreakpoints

      public Capabilities setSupportsDataBreakpoints(Boolean supportsDataBreakpoints)
    • getSupportsReadMemoryRequest

      public Boolean getSupportsReadMemoryRequest()
      The debug adapter supports the 'readMemory' request.
    • setSupportsReadMemoryRequest

      public Capabilities setSupportsReadMemoryRequest(Boolean supportsReadMemoryRequest)
    • getSupportsDisassembleRequest

      public Boolean getSupportsDisassembleRequest()
      The debug adapter supports the 'disassemble' request.
    • setSupportsDisassembleRequest

      public Capabilities setSupportsDisassembleRequest(Boolean supportsDisassembleRequest)
    • getSupportsCancelRequest

      public Boolean getSupportsCancelRequest()
      The debug adapter supports the 'cancel' request.
    • setSupportsCancelRequest

      public Capabilities setSupportsCancelRequest(Boolean supportsCancelRequest)
    • getSupportsBreakpointLocationsRequest

      public Boolean getSupportsBreakpointLocationsRequest()
      The debug adapter supports the 'breakpointLocations' request.
    • setSupportsBreakpointLocationsRequest

      public Capabilities setSupportsBreakpointLocationsRequest(Boolean supportsBreakpointLocationsRequest)
    • getSupportsClipboardContext

      public Boolean getSupportsClipboardContext()
      The debug adapter supports the 'clipboard' context value in the 'evaluate' request.
    • setSupportsClipboardContext

      public Capabilities setSupportsClipboardContext(Boolean supportsClipboardContext)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static Capabilities create()