The Command Line view gives you access to the help command that provides information on many of the common CLI commands, as shown in Figure 77for dhistory.
The Command Line view has two main uses, as represented in Figure 78.
Figure 78 – Uses of the Command Line View
• It shows the history of the processes and threads in the debugging session, as recorded by the debugger’s output to the CLI.
• It provides a command line interface to the debugger. This interface is extremely powerful, allowing you to invoke any CLI command, as described in the NextGen TotalView for HPC Reference Guide. These commands give you fine-grained control of the debugger and the debugging session, well beyond what you can do in the UI.
Note that the Command Line view supports command history. In Figure 78, typing history shows the list of commands executed so far. 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.
The remainder of this chapter describes the many ways to use the CLI to enhance your debugging session.