Class DebuggerSetupInformation

java.lang.Object
com.pnfsoftware.jeb.core.units.code.debug.impl.DebuggerSetupInformation

public class DebuggerSetupInformation extends Object
Information about a target to be debugged and the wanted debugging settings.
  • Method Details

    • create

      Create process-connector setup information.
      Parameters:
      machine - target machine
      process - target process
      Returns:
      setup information
    • create

      public static DebuggerSetupInformation create(String hostname, int port)
      Create port-connector setup information.
      Parameters:
      hostname - target host name
      port - target port
      Returns:
      setup information
    • getConnectorClass

      public DebuggerConnectorClass getConnectorClass()
      Retrieve the connector class.
      Returns:
      connector class
    • getMachine

      public IDebuggerMachineInformation getMachine()
      Retrieve the target machine.
      Returns:
      target machine, or null
    • getProcess

      public IDebuggerProcessInformation getProcess()
      Retrieve the target process.
      Returns:
      target process, or null
    • getHostname

      public String 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

      public Long getActualImageBase()
      Retrieve the actual image base.
      Returns:
      actual image base, or null
    • setActualImageBase

      public void setActualImageBase(Long actualImageBase)
      Set the actual image base.
      Parameters:
      actualImageBase - actual image base, or null
    • toString

      public String toString()
      Overrides:
      toString in class Object