Class StackmapCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.StackmapCommand
- All Implemented Interfaces:
ICommand
-
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) Java representation of j9dbgext.c#dbgext_stackmap function.Methods declared in class Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognisesModifier and TypeMethodDescriptionaddCommand(String name, String argDescription, String helpDescription) voidaddSubCommand(Command.CommandDescription command, String name, String argDescription, String helpDescription) protected longdbgFindPatternInRange(Context context, byte[] pattern, int patternAlignment, long startSearchFrom, BigInteger bytesToSearch) voidThis prints the detailed help for the command by listing all the names that this command can be invoked by and also any sub commands that have been defined.booleanrecognises(String command, Context context) Method used by the DDR Interactive engine to decide whether this command matches the command passed in by the user
-
Constructor Details
-
StackmapCommand
public StackmapCommand()Constructor Add the command into supported commands list.
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException Java representation of j9dbgext.c#dbgext_stackmap function.- Parameters:
command- DDR extension command of stackmap. It is supposed to be "stackmap" if this method is being called.args- Arguments passed to !stackmap DDR extension. Only one argument is expected since !stackmap expects only the address.context- Current context that DDR is running on.out- Print stream to write the output.- Throws:
DDRInteractiveCommandException- If there is any problem running the command (incorrect usage, CorruptData etc.)
-