Integration of the CLI and the UI
Figure 93 illustrates the relationships between the CLI, the UI, the TotalView engine, and your program:
The CLI and the UI are components that communicate with the TotalView engine. The dotted arrow between the UI and the CLI in
Figure 93 indicates that you can invoke the CLI from the UI, but the reverse is not true: you cannot invoke the UI from the CLI.
In turn, the TotalView engine communicates with the processes that make up your program, receives information back from these processes, and passes information back to the component that sent the request. If the UI is also active, the engine also updates the UI’s views. For example, stepping your program with the CLI changes the PC in the source view, updates data values, and so on.