Class DebuggerSetupInformation
java.lang.Object
com.pnfsoftware.jeb.core.units.code.debug.impl.DebuggerSetupInformation
Information about a target to be debugged and the wanted debugging settings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DebuggerSetupInformationcreate(IDebuggerMachineInformation machine, IDebuggerProcessInformation process) Create process-connector setup information.static DebuggerSetupInformationCreate port-connector setup information.booleanDetermine whether threads should be suspended when attaching.Retrieve the actual image base.Retrieve the connector class.Retrieve the target host name.Retrieve the target machine.intgetPort()Retrieve the target port.Retrieve the target process.booleanDetermine whether the target should be treated as debuggable.voidsetActualImageBase(Long actualImageBase) Set the actual image base.voidsetPretendDebuggable(boolean pretendDebuggable) Set whether the target should be treated as debuggable.voidsetSuspendThreads(boolean enabled) Set whether threads should be suspended when attaching.voidsetUseChildrenDebuggers(boolean enabled) Set whether child debuggers should be used.booleanDetermine whether child debuggers should be used.toString()
-
Method Details
-
create
public static DebuggerSetupInformation create(IDebuggerMachineInformation machine, IDebuggerProcessInformation process) Create process-connector setup information.- Parameters:
machine- target machineprocess- target process- Returns:
- setup information
-
create
Create port-connector setup information.- Parameters:
hostname- target host nameport- target port- Returns:
- setup information
-
getConnectorClass
Retrieve the connector class.- Returns:
- connector class
-
getMachine
Retrieve the target machine.- Returns:
- target machine, or null
-
getProcess
Retrieve the target process.- Returns:
- target process, or null
-
getHostname
Retrieve the target host name.- Returns:
- host name, or null
-
getPort
public int getPort()Retrieve the target port.- Returns:
- target port
-
doSuspendThreads
public boolean doSuspendThreads()Determine whether threads should be suspended when attaching.- Returns:
- true if threads should be suspended
-
setSuspendThreads
public void setSuspendThreads(boolean enabled) Set whether threads should be suspended when attaching.- Parameters:
enabled- true to suspend threads
-
shouldUseChildrenDebuggers
public boolean shouldUseChildrenDebuggers()Determine whether child debuggers should be used.- Returns:
- true if child debuggers should be used
-
setUseChildrenDebuggers
public void setUseChildrenDebuggers(boolean enabled) Set whether child debuggers should be used.- Parameters:
enabled- true to use child debuggers
-
isPretendDebuggable
public boolean isPretendDebuggable()Determine whether the target should be treated as debuggable.- Returns:
- true if the target should be treated as debuggable
-
setPretendDebuggable
public void setPretendDebuggable(boolean pretendDebuggable) Set whether the target should be treated as debuggable.- Parameters:
pretendDebuggable- true to treat the target as debuggable
-
getActualImageBase
Retrieve the actual image base.- Returns:
- actual image base, or null
-
setActualImageBase
Set the actual image base.- Parameters:
actualImageBase- actual image base, or null
-
toString
-