| |||
| Home > DS-5 Debugger commands > DS-5 Debugger commands listed in alphabetical order > run | |||
The operation of this command depends on what the target is:
This
command sets the PC register to the entry point address previously
recorded by the load, loadfile,
or file command and starts running the target.
Subsequent run commands also reload the executable
image if it follows a previous load operation.
This command sends a request to the server to restart the application and then start running it.
Control is returned as soon as the target is running. You
can use the wait command to block the debugger
from returning control until either the application completes or
a breakpoint is hit.
[runargs]
Where:
argsSpecifies the command-line arguments that are passed
to the main() function in the application using
the argv parameter. The name of the image is always implicitly
passed in argv[0] and it is not necessary to pass
this as an argument to the run command.