Class ProcessEvent.EventBody

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ProcessEvent.EventBody
Enclosing class:
ProcessEvent

public static class ProcessEvent.EventBody extends JSONBase
  • Method Details

    • getName

      public String getName()
      The logical name of the process. This is usually the full path to process's executable file. Example: /home/example/myproj/program.js.
    • setName

      public ProcessEvent.EventBody setName(String name)
    • getSystemProcessId

      public Integer getSystemProcessId()
      The system process id of the debugged process. This property will be missing for non-system processes.
    • setSystemProcessId

      public ProcessEvent.EventBody setSystemProcessId(Integer systemProcessId)
    • getIsLocalProcess

      public Boolean getIsLocalProcess()
      If true, the process is running on the same computer as the debug adapter.
    • setIsLocalProcess

      public ProcessEvent.EventBody setIsLocalProcess(Boolean isLocalProcess)
    • getStartMethod

      public String getStartMethod()
      Describes how the debug engine started debugging this process. 'launch': Process was launched under the debugger. 'attach': Debugger attached to an existing process. 'attachForSuspendedLaunch': A project launcher component has launched a new process in a suspended state and then asked the debugger to attach.
    • setStartMethod

      public ProcessEvent.EventBody setStartMethod(String startMethod)
    • getPointerSize

      public Integer getPointerSize()
      The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display.
    • setPointerSize

      public ProcessEvent.EventBody setPointerSize(Integer pointerSize)
    • equals

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

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

      public static ProcessEvent.EventBody create(String name)