Class SnapTraceCommand

All Implemented Interfaces:
ICommand

public class SnapTraceCommand extends SnapBaseCommand
Debug extension to extract trace buffers from a core dump so they can be formatted.
  • Constructor Details

    • SnapTraceCommand

      public SnapTraceCommand()
  • Method Details

    • run

      public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException
      Description copied from interface: ICommand
      Executes the command
      Parameters:
      command - Command string e.g. !j9x
      args - Arguments for command
      context - Context to work in
      out - PrintStream to write command output on
      Throws:
      DDRInteractiveCommandException - If there is any problem running the command (incorrect usage, CorruptData etc.)
    • writeBytesToTrace

      protected void writeBytesToTrace(Context context, long address, int bufferSize, PrintStream out)
    • writeHeaderBytesToTrace

      protected void writeHeaderBytesToTrace(Context context, byte[] headerBytes, PrintStream out)