Class SnapTraceCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.tools.ddrinteractive.commands.SnapBaseCommand
com.ibm.j9ddr.tools.ddrinteractive.commands.SnapTraceCommand
- All Implemented Interfaces:
 ICommand
Debug extension to extract trace buffers from a core dump
so they can be formatted.
- 
Nested Class Summary
Nested classes/interfaces declared in class Command
Command.CommandDescription - 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidrun(String command, String[] args, Context context, PrintStream out) Executes the commandprotected voidwriteBytesToTrace(Context context, long address, int bufferSize, PrintStream out) protected voidwriteHeaderBytesToTrace(Context context, byte[] headerBytes, PrintStream out) Methods declared in class SnapBaseCommand
extractTraceData, getCStringAtAddress, getCStringAtAddressMethods declared in class Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognises 
- 
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:ICommandExecutes the command- Parameters:
 command- Command string e.g. !j9xargs- Arguments for commandcontext- Context to work inout- PrintStream to write command output on- Throws:
 DDRInteractiveCommandException- If there is any problem running the command (incorrect usage, CorruptData etc.)
 - 
writeBytesToTrace
 - 
writeHeaderBytesToTrace
 
 -