public final class StartDebugParameters extends Object
NIDebugger.start(org.netbeans.modules.nativeimage.api.debug.StartDebugParameters, java.util.function.Consumer)
.Modifier and Type | Class and Description |
---|---|
static class |
StartDebugParameters.Builder
Builder of start debug parameters.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getCommand()
The command to run the native image.
|
Lookup |
getContextLookup()
Context lookup.
|
String |
getDebugger()
The native debugger command.
|
String |
getDisplayName()
Display name of the debugger task.
|
ExecutionDescriptor |
getExecutionDescriptor()
Execution descriptor that describes the runtime attributes.
|
Long |
getProcessId()
Get a process ID to attach to.
|
File |
getWorkingDirectory()
Working directory of the process.
|
boolean |
isDebuggerDisplayObjects()
Check whether debugger may display objects using it's own rules.
|
static StartDebugParameters.Builder |
newBuilder(List<String> command)
Create a new debug parameters builder.
|
public List<String> getCommand()
public File getWorkingDirectory()
public String getDebugger()
public String getDisplayName()
public boolean isDebuggerDisplayObjects()
true
if debugger may display objects using it's own rules,
false
otherwise.@CheckForNull public Long getProcessId()
null
, the command is to be launched. Otherwise,
the debugger is attached to process with that ID.null
to launch the command.public ExecutionDescriptor getExecutionDescriptor()
public Lookup getContextLookup()
public static StartDebugParameters.Builder newBuilder(List<String> command)
command
- the command to run the native image.