Package org.eclipse.lsp4j.debug
Class ProcessEventArguments
- java.lang.Object
-
- org.eclipse.lsp4j.debug.ProcessEventArguments
-
public class ProcessEventArguments extends java.lang.Object
The event indicates that the debugger has begun debugging a new process. Either one that it has launched, or one that it has attached to.Represents the
body
ofProcessEvent
defined in spec.
-
-
Constructor Summary
Constructors Constructor Description ProcessEventArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Boolean
getIsLocalProcess()
If true, the process is running on the same computer as the debug adapter.java.lang.String
getName()
The logical name of the process.java.lang.Integer
getPointerSize()
The size of a pointer or address for this process, in bits.ProcessEventArgumentsStartMethod
getStartMethod()
Describes how the debug engine started debugging this process.java.lang.Integer
getSystemProcessId()
The system process id of the debugged process.int
hashCode()
void
setIsLocalProcess(java.lang.Boolean isLocalProcess)
If true, the process is running on the same computer as the debug adapter.void
setName(java.lang.String name)
The logical name of the process.void
setPointerSize(java.lang.Integer pointerSize)
The size of a pointer or address for this process, in bits.void
setStartMethod(ProcessEventArgumentsStartMethod startMethod)
Describes how the debug engine started debugging this process.void
setSystemProcessId(java.lang.Integer systemProcessId)
The system process id of the debugged process.java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.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 void setName(java.lang.String name)
The logical name of the process. This is usually the full path to process's executable file. Example: /home/example/myproj/program.js.
-
getSystemProcessId
public java.lang.Integer getSystemProcessId()
The system process id of the debugged process. This property is missing for non-system processes.This is an optional property.
-
setSystemProcessId
public void setSystemProcessId(java.lang.Integer systemProcessId)
The system process id of the debugged process. This property is missing for non-system processes.This is an optional property.
-
getIsLocalProcess
public java.lang.Boolean getIsLocalProcess()
If true, the process is running on the same computer as the debug adapter.This is an optional property.
-
setIsLocalProcess
public void setIsLocalProcess(java.lang.Boolean isLocalProcess)
If true, the process is running on the same computer as the debug adapter.This is an optional property.
-
getStartMethod
public ProcessEventArgumentsStartMethod getStartMethod()
Describes how the debug engine started debugging this process.This is an optional property.
-
setStartMethod
public void setStartMethod(ProcessEventArgumentsStartMethod startMethod)
Describes how the debug engine started debugging this process.This is an optional property.
-
getPointerSize
public java.lang.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.This is an optional property.
-
setPointerSize
public void setPointerSize(java.lang.Integer pointerSize)
The size of a pointer or address for this process, in bits. This value may be used by clients when formatting addresses for display.This is an optional property.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-