Testing the Commands

Basics

Much of the supported functionality of JSwat is available via typed commands. The following are basic test cases for evaluating the robustness of the command interpreter. Following that are the individual command test cases.

Commands

attach

Attach remotely to a running VM.

classpath

Displays or sets the classpath of the debuggee VM.

exit

Closes the active debugging session, and exits JSwat if there are no more sessions.

help

Explains how to use JSwat commands.

kill

Terminate one or all threads in the debuggee VM.

listen

Listens for a connection from a debuggee VM.

read

Executes the commands in the given command file.

sourcepath

Displays or sets the source path.

stdin

Sends text to the debuggee VM's standard input stream.