Sun Studio 12 Update 1: Debugging a Program With dbx

runargs Command

The runargs command changes the arguments of the target process. It has identical syntax and identical functionality in native mode and Java mode.

Use the debug command (see debug Command) with no arguments to inspect the current arguments of the target process.

Syntax

runargs arguments

Set the current arguments, to be used by the run command (see run Command).

runargs ... >|>>file

Set the output redirection to be used by the run command.

runargs ... <file

Set the input redirection to be used by the run command.

runargs

Clear the current arguments.

where:

arguments are the arguments to be used in running the target process.

file is the file to which output from the target process or input to the target process is to be redirected.