Access to the CLI
TotalView’s default settings display the Command Line view, which provides access to the CLI.
If the Command Line view is not visible when you start TotalView, open it by:
Right-clicking in the menu/toolbar area and selecting it from the context menu.
Selecting
Window | View.
Both of these are toggles that can also be used to close the view.
You can also access the CLI through a separate terminal window, as described in
Starting the CLI in a Terminal Window.
The Command Line view provides access to the
help command documenting many common CLI commands, as shown in
Figure 91 for
dbreak.
Use the Command Line view to:
View the processes and threads state in the debugging session, as recorded by the debugger’s output to the CLI.
Run CLI commands which provide fine-grained control of the debugger and the debugging session, sometime unavailable in the UI itself.
View command history using the
history command which returns the list of commands executed so far, shown in
Figure 92. Entering the command
!6 re-executes the command
dfocus 2.1. Use the up‑arrow and down‑arrow keys to move up and down the history list.
This view also supports copy and paste, which works the same as most command line interfaces:
1. Select text by clicking and dragging.
2. Right-click and select Copy.
3. Right-click and select Paste to copy the selected text to the cursor position.