In IBM® Rational® Rhapsody®,
go commands advance the application one or more steps. In the tracer,
use go commands at the command line. From the animator,
you can type go commands at the command line or use
the Animation toolbar.
A go command
causes the tracer to execute immediately, even in the middle of reading
commands from a file. The remaining (unread) lines are used as commands
the next time the tracer stops the execution and searches for commands.
If the application reaches a breakpoint, control might
return to you before a go command is complete.
There are four go commands:
- go executes your application until
it terminates or reaches a breakpoint
- go step executes your application
for a single step (that is, until the next Rational Rhapsody-level
occurrence)
- go next executes your application
until the next Rational Rhapsody-level
occurrence
- go event executes your code until
the next dispatching of an event, or until the executable program
is idle
- go idle executes your application
until it reaches an idle state where it is waiting for timeouts or
events from GUI threads
See also Considerations for using multiple threads.
Syntax
go
go step
go next
go event
go idle