com.bluemarsh.jswat.command
Class stepCommand
java.lang.Object
|
+--com.bluemarsh.jswat.command.JSwatCommand
|
+--com.bluemarsh.jswat.command.stepCommand
- Direct Known Subclasses:
- nextCommand, nextiCommand, stepiCommand
- public class stepCommand
- extends JSwatCommand
Defines the class that handles the 'step' command.
- Author:
- Nathan Fiedler
Method Summary |
protected void |
clearPreviousStep(com.sun.jdi.VirtualMachine vm,
com.sun.jdi.ThreadReference thread)
Clear any step requests that may still be associated with
the given thread. |
void |
perform(Session session,
com.bluemarsh.util.StringTokenizer args,
Log out)
Perform the 'step' command. |
protected boolean |
step(Session session,
com.bluemarsh.util.StringTokenizer args,
Log out,
int size,
int depth)
Perform a general step operation. |
Methods inherited from class com.bluemarsh.jswat.command.JSwatCommand |
argumentsMatch, createObject, description, findClassesByPattern, getCommandName, getPromptString, getThreadByID, help, help, missingArgs, receiveInput, resolveOverload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stepCommand
public stepCommand()
clearPreviousStep
protected void clearPreviousStep(com.sun.jdi.VirtualMachine vm,
com.sun.jdi.ThreadReference thread)
- Clear any step requests that may still be associated with
the given thread.
- Parameters:
vm
- Virtual Machinethread
- Thread on which to remove step requests.
perform
public void perform(Session session,
com.bluemarsh.util.StringTokenizer args,
Log out)
- Perform the 'step' command.
- Overrides:
perform
in class JSwatCommand
- Parameters:
session
- JSwat session on which to operate.args
- Tokenized string of command arguments.out
- Output to write messages to.
step
protected boolean step(Session session,
com.bluemarsh.util.StringTokenizer args,
Log out,
int size,
int depth)
- Perform a general step operation.
- Parameters:
session
- JSwat session on which to operate.args
- Tokenized string of command arguments.out
- Output to write messages to.size
- How much to step.depth
- How exactly to step.- Returns:
- True if successful, false if error.